aboutsummaryrefslogtreecommitdiffstats
path: root/modules/rsyncd
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-01-13 20:33:50 +0000
committerMichael Scherer <misc@mageia.org>2011-01-13 20:33:50 +0000
commitb5629cdbd41ab49a2e4a5121b1b2214000c54acb (patch)
tree79a11d99909fa5755e35426aa5d1ebf33161ee0a /modules/rsyncd
parent4b78324725b54fd69dd38002d103d69f93bc04ad (diff)
downloadpuppet-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')
-rw-r--r--modules/rsyncd/manifests/init.pp18
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")
}