aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Burkert <ben@benburkert.com>2012-08-30 08:13:01 -0700
committerBen Burkert <ben@benburkert.com>2012-08-30 08:13:01 -0700
commitd94084b265e920a02f04ad85c54e470cf63ad7a3 (patch)
tree1c959943673b19890e549cd984eec51256573ecd
parente22324275c66ed070302026eb0a4b882dd0a2ba0 (diff)
downloadpuppet-tftp-d94084b265e920a02f04ad85c54e470cf63ad7a3.tar.gz
puppet-tftp-d94084b265e920a02f04ad85c54e470cf63ad7a3.tar.bz2
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.
-rw-r--r--manifests/init.pp1
1 files changed, 1 insertions, 0 deletions
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