aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorCédric Jeanneret <cedric.jeanneret@camptocamp.com>2013-02-26 11:34:47 +0000
committerCédric Jeanneret <cedric.jeanneret@camptocamp.com>2013-02-26 11:34:47 +0000
commit1fd636156477c5e38112642f73647704b2acffd2 (patch)
tree5e069ec08862dbcc460911dcd6c77da31854aee7 /manifests
parent68e456b83faf170e0596f84d2af14f154e3160ba (diff)
downloadpuppet-dhcp-1fd636156477c5e38112642f73647704b2acffd2.tar.gz
puppet-dhcp-1fd636156477c5e38112642f73647704b2acffd2.tar.bz2
removed deprecated dhcp::host definition
Diffstat (limited to 'manifests')
-rw-r--r--manifests/host.pp28
1 files changed, 0 insertions, 28 deletions
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'],
- }
-
-}