7 |
service { xinetd: |
service { xinetd: |
8 |
ensure => running, |
ensure => running, |
9 |
path => "/etc/init.d/xinetd", |
path => "/etc/init.d/xinetd", |
10 |
subscribe => [ Package["xinetd"], File["xinetd"] ] |
subscribe => [ Package["xinetd"], File["rsync"] ] |
11 |
} |
} |
12 |
|
|
13 |
file { "rsync": |
file { "rsync": |
16 |
owner => root, |
owner => root, |
17 |
group => root, |
group => root, |
18 |
mode => 644, |
mode => 644, |
19 |
require => "xinetd", |
require => Package["xinetd"], |
20 |
content => template("rsyncd/xinetd") |
content => template("rsyncd/xinetd") |
21 |
} |
} |
22 |
|
|