From ec52b52f8227e10a3724c21dde337a424bdcfe27 Mon Sep 17 00:00:00 2001 From: Cedric Jeanneret Date: Tue, 26 Feb 2013 14:29:55 +0100 Subject: updated and corrected template and dhcp::hosts --- manifests/hosts.pp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'manifests') diff --git a/manifests/hosts.pp b/manifests/hosts.pp index fd99600..b159449 100644 --- a/manifests/hosts.pp +++ b/manifests/hosts.pp @@ -4,6 +4,9 @@ # # Arguments # $template: dhcp host template - default: 'dhcp/host.conf.erb' +# $global_options: global options for the whole bunch of hosts. +# you may override it per host, setting the host "options" +# directly in the hash. # $subnet: targeted subnet # $hash_data: hash containing data - default form: # { @@ -35,6 +38,7 @@ define dhcp::hosts ( $hash_data, $subnet, + $global_options = false, $template = 'dhcp/host.conf.erb', ) { -- cgit v1.2.3