From: Ben Burkert Date: Thu, 30 Aug 2012 15:13:01 +0000 (-0700) Subject: Require the package on the tftp xinetd service. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d94084b265e920a02f04ad85c54e470cf63ad7a3;p=puppet-tftp.git Require the package on the tftp xinetd service. The xinetd::service type drops an xinetd config. That config is invalid before the tftp package is installed and during that window xinetd may be started. xinetd will start with tftp ignored, and will need to be manually restarted to enable tftp. This change eliminates that window. --- diff --git a/manifests/init.pp b/manifests/init.pp index 300824d..c342c34 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -66,6 +66,7 @@ class tftp ( flags => 'IPv4', per_source => '11', wait => 'yes', + require => Package[$package], } $svc_ensure = stopped