diff options
Diffstat (limited to 'modules/rsyncd')
-rw-r--r-- | modules/rsyncd/manifests/init.pp | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/modules/rsyncd/manifests/init.pp b/modules/rsyncd/manifests/init.pp index 148cc426..c4ffc92d 100644 --- a/modules/rsyncd/manifests/init.pp +++ b/modules/rsyncd/manifests/init.pp @@ -1,22 +1,6 @@ class rsyncd { - package { xinetd: - ensure => installed - } - - service { xinetd: - ensure => running, - path => "/etc/init.d/xinetd", - subscribe => [ Package["xinetd"], File["rsync"] ] - } - - file { "rsync": - path => "/etc/xinetd.d/rsync", - ensure => present, - owner => root, - group => root, - mode => 644, - require => Package["xinetd"], + xinetd::service { "rsync": content => template("rsyncd/xinetd") } |