[Mageia-sysadm] [790] - use the new xinetd module
root at mageia.org
root at mageia.org
Thu Jan 13 21:33:51 CET 2011
Revision: 790
Author: misc
Date: 2011-01-13 21:33:50 +0100 (Thu, 13 Jan 2011)
Log Message:
-----------
- use the new xinetd module
Modified Paths:
--------------
puppet/modules/rsyncd/manifests/init.pp
Modified: puppet/modules/rsyncd/manifests/init.pp
===================================================================
--- puppet/modules/rsyncd/manifests/init.pp 2011-01-13 20:33:49 UTC (rev 789)
+++ puppet/modules/rsyncd/manifests/init.pp 2011-01-13 20:33:50 UTC (rev 790)
@@ -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")
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110113/ca1305c1/attachment.html>
More information about the Mageia-sysadm
mailing list