From 1fd636156477c5e38112642f73647704b2acffd2 Mon Sep 17 00:00:00 2001 From: Cédric Jeanneret Date: Tue, 26 Feb 2013 11:34:47 +0000 Subject: removed deprecated dhcp::host definition --- manifests/host.pp | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 manifests/host.pp (limited to 'manifests') diff --git a/manifests/host.pp b/manifests/host.pp deleted file mode 100644 index 969ecc4..0000000 --- a/manifests/host.pp +++ /dev/null @@ -1,28 +0,0 @@ -# = Definition: dhcp::host -# -# Create dhcp configuration for a host -# -# Arguments: -# *$mac*: host MAC address (mandatory) -# *$subnet*: subnet in which we want to add this host -# *$fixed_address*: host fixed address (if not set, takes $name) -# -# -define dhcp::host ( - $mac, - $subnet, - $ensure = present, - $fixed_address = false, - $options = false -) { - - include dhcp::params - - concat::fragment {"dhcp.host.${name}": - ensure => $ensure, - target => "${dhcp::params::config_dir}/hosts.d/${subnet}.conf", - content => template('dhcp/host.conf.erb'), - notify => Service['dhcpd'], - } - -} -- cgit v1.2.3