]> gitweb.fluxo.info Git - puppet-dhcp.git/commitdiff
removed deprecated dhcp::host definition
authorCédric Jeanneret <cedric.jeanneret@camptocamp.com>
Tue, 26 Feb 2013 11:34:47 +0000 (11:34 +0000)
committerCédric Jeanneret <cedric.jeanneret@camptocamp.com>
Tue, 26 Feb 2013 11:34:47 +0000 (11:34 +0000)
manifests/host.pp [deleted file]

diff --git a/manifests/host.pp b/manifests/host.pp
deleted file mode 100644 (file)
index 969ecc4..0000000
+++ /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'],
-  }
-
-}