diff options
author | Michael Scherer <misc@mageia.org> | 2011-01-13 20:33:50 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-01-13 20:33:50 +0000 |
commit | b5629cdbd41ab49a2e4a5121b1b2214000c54acb (patch) | |
tree | 79a11d99909fa5755e35426aa5d1ebf33161ee0a /modules/rsyncd/manifests | |
parent | 4b78324725b54fd69dd38002d103d69f93bc04ad (diff) | |
download | puppet-b5629cdbd41ab49a2e4a5121b1b2214000c54acb.tar puppet-b5629cdbd41ab49a2e4a5121b1b2214000c54acb.tar.gz puppet-b5629cdbd41ab49a2e4a5121b1b2214000c54acb.tar.bz2 puppet-b5629cdbd41ab49a2e4a5121b1b2214000c54acb.tar.xz puppet-b5629cdbd41ab49a2e4a5121b1b2214000c54acb.zip |
- use the new xinetd module
Diffstat (limited to 'modules/rsyncd/manifests')
-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") } |