From b5629cdbd41ab49a2e4a5121b1b2214000c54acb Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 13 Jan 2011 20:33:50 +0000 Subject: - use the new xinetd module --- modules/rsyncd/manifests/init.pp | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'modules/rsyncd') 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") } -- cgit v1.2.1