aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorcrayfishx <craig@craigdunn.org>2012-07-16 11:54:20 -0700
committercrayfishx <craig@craigdunn.org>2012-07-16 11:54:20 -0700
commitc0ea8207bc2bdb4d62c81ac6f547e560549f2fd3 (patch)
tree0b23992967d8d66da12b0441f7e9ae0c1cf8fb0b /manifests
parent0f70b0bfe7b5f8475ffade5f9e14c0632e42bd47 (diff)
downloadpuppet-tftp-c0ea8207bc2bdb4d62c81ac6f547e560549f2fd3.tar.gz
puppet-tftp-c0ea8207bc2bdb4d62c81ac6f547e560549f2fd3.tar.bz2
Make xinetd the default method for installing tftp
* Switched the inetd parameter to default to true * Moved the value into params.pp * Updated tests * Updated README
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp2
-rw-r--r--manifests/params.pp1
2 files changed, 2 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 973049c..8becd7d 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -29,7 +29,7 @@ class tftp (
$address = $tftp::params::address,
$port = $tftp::params::port,
$options = $tftp::params::options,
- $inetd = false,
+ $inetd = $tftp::params::inetd,
$package = $tftp::params::package,
$binary = $tftp::params::binary,
$defaults = $tftp::params::defaults
diff --git a/manifests/params.pp b/manifests/params.pp
index 3520068..93344b7 100644
--- a/manifests/params.pp
+++ b/manifests/params.pp
@@ -6,6 +6,7 @@ class tftp::params {
$port = '69'
$options = '--secure'
$binary = '/usr/sbin/in.tftpd'
+ $inetd = true
case $::osfamily {
'debian': {