/[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 23 - (show annotations) (download)
Tue Oct 26 23:08:05 2010 UTC (9 years, 11 months ago) by nanardon
File size: 715 byte(s)
- don't redefine rsync
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["xinetd"] ]
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 => "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.28