From d94084b265e920a02f04ad85c54e470cf63ad7a3 Mon Sep 17 00:00:00 2001 From: Ben Burkert Date: Thu, 30 Aug 2012 08:13:01 -0700 Subject: 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. --- manifests/init.pp | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3