aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorcrayfishx <craig@craigdunn.org>2012-07-10 14:31:42 -0700
committercrayfishx <craig@craigdunn.org>2012-07-10 14:31:42 -0700
commit57e69bf36be91ae3e95a2ab5af259029ea54ece7 (patch)
tree7c64b57fbd7a5ffcf379c67150fd1cf3f07807cb /manifests
parentd418a40a91b6493a0659e8739587a79786735b3c (diff)
downloadpuppet-tftp-57e69bf36be91ae3e95a2ab5af259029ea54ece7.tar.gz
puppet-tftp-57e69bf36be91ae3e95a2ab5af259029ea54ece7.tar.bz2
No need to set binary to undef for debian now we evaluate the provider variable instead.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/params.pp4
1 files changed, 1 insertions, 3 deletions
diff --git a/manifests/params.pp b/manifests/params.pp
index b688dd5..e5de774 100644
--- a/manifests/params.pp
+++ b/manifests/params.pp
@@ -6,12 +6,12 @@ class tftp::params {
$port = '69'
$options = '--secure'
$inetd_conf = '/etc/inetd.conf'
+ $binary = '/usr/sbin/in.tftpd'
case $::osfamily {
'debian': {
$package = 'tftpd-hpa'
$defaults = true
- $binary = undef
$username = 'tftp'
case $::operatingsystem {
'debian': {
@@ -39,7 +39,6 @@ class tftp::params {
$directory = '/var/lib/tftpboot'
$hasstatus = false
$provider = 'base'
- $binary = '/usr/sbin/in.tftpd'
}
default: {
$package = 'tftpd'
@@ -47,7 +46,6 @@ class tftp::params {
$defaults = false
$hasstatus = false
$provider = undef
- $binary = '/usr/sbin/in.tftpd'
warning("tftp:: $::operatingsystem may not be supported")
}
}