/[adm]/puppet/modules/rsyncd/manifests/init.pp
ViewVC logotype

Annotation of /puppet/modules/rsyncd/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22 - (hide annotations) (download)
Tue Oct 26 23:04:35 2010 UTC (14 years, 6 months ago) by nanardon
File size: 771 byte(s)
- fix typo
1 nanardon 21 class rsyncd {
2    
3     package { rsync:
4     ensure => installed
5     }
6     package { xinetd:
7     ensure => installed
8     }
9    
10     service { xinetd:
11     ensure => running,
12     path => "/etc/init.d/xinetd",
13     subscribe => [ Package["xinetd"], File["xinetd"] ]
14     }
15    
16 nanardon 22 file { "rsync":
17 nanardon 21 path => "/etc/xinetd.d/rsync",
18     ensure => present,
19     owner => root,
20     group => root,
21     mode => 644,
22     require => "xinetd",
23     content => template("rsyncd/xinetd")
24     }
25    
26     file { "rsyncd.conf":
27     path => "/etc/rsyncd.conf",
28     ensure => present,
29     owner => root,
30     group => root,
31     mode => 644,
32     require => Package["rsync"],
33     content => template("rsyncd/rsyncd.conf")
34     }
35     }

  ViewVC Help
Powered by ViewVC 1.1.30