aboutsummaryrefslogtreecommitdiff
path: root/manifests/host.pp
diff options
context:
space:
mode:
authorJeanneret Cedric <contact@internux.ch>2013-04-10 22:37:10 -0700
committerJeanneret Cedric <contact@internux.ch>2013-04-10 22:37:10 -0700
commit87162a8cc3e47996160f85e1807f75b9ad741bc8 (patch)
treed897d6ab4dd59c94ed40dc3333006a115700ca49 /manifests/host.pp
parent5486843f40439050f4aa6a94fab8d2bf45037942 (diff)
parentec52b52f8227e10a3724c21dde337a424bdcfe27 (diff)
downloadpuppet-dhcp-87162a8cc3e47996160f85e1807f75b9ad741bc8.tar.gz
puppet-dhcp-87162a8cc3e47996160f85e1807f75b9ad741bc8.tar.bz2
Merge pull request #4 from cjeanneret/hosts-uses-hashes
Hosts uses hashes
Diffstat (limited to 'manifests/host.pp')
-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'],
- }
-
-}