From 57e69bf36be91ae3e95a2ab5af259029ea54ece7 Mon Sep 17 00:00:00 2001 From: crayfishx Date: Tue, 10 Jul 2012 14:31:42 -0700 Subject: No need to set binary to undef for debian now we evaluate the provider variable instead. --- manifests/params.pp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'manifests') 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") } } -- cgit v1.2.3