diff options
author | Marc Fournier <marc.fournier@camptocamp.com> | 2011-11-15 13:17:30 +0100 |
---|---|---|
committer | Marc Fournier <marc.fournier@camptocamp.com> | 2011-11-15 13:17:30 +0100 |
commit | 5f4a22d6775fc091124c95bbb0b891bf95e6043c (patch) | |
tree | 8e72cf49cb70d9f88cd31dff946f5785f0fb8721 /manifests/definitions/dhcp-host.pp | |
parent | 69f887dee39d13f52b7b228fa49e54bdd0454c3b (diff) | |
download | puppet-dhcp-5f4a22d6775fc091124c95bbb0b891bf95e6043c.tar.gz puppet-dhcp-5f4a22d6775fc091124c95bbb0b891bf95e6043c.tar.bz2 |
file renaming to be compliant with recommended module structure.
Diffstat (limited to 'manifests/definitions/dhcp-host.pp')
-rw-r--r-- | manifests/definitions/dhcp-host.pp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/manifests/definitions/dhcp-host.pp b/manifests/definitions/dhcp-host.pp deleted file mode 100644 index 160df63..0000000 --- a/manifests/definitions/dhcp-host.pp +++ /dev/null @@ -1,20 +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($ensure=present,$mac,$subnet,$fixed_address=false, $options=false) { - include dhcp::params - common::concatfilepart {"dhcp.host.$name": - ensure => $ensure, - notify => Service["dhcpd"], - file => "${dhcp::params::config_dir}/hosts.d/${subnet}.conf", - content => template("dhcp/host.conf.erb"), - } -} |