aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
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': {