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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30