diff options
author | Raphaël Pinson <raphael.pinson@camptocamp.com> | 2013-04-11 12:34:23 +0200 |
---|---|---|
committer | Raphaël Pinson <raphael.pinson@camptocamp.com> | 2013-04-11 12:34:23 +0200 |
commit | 4cc54cff2d04eedb672c7cc6b92a5edcccac63c9 (patch) | |
tree | e57fe01acc4bc319cdcba4b245649687874527e3 /manifests | |
parent | 87096a875d4bee517e0c8c807218394a2024bd46 (diff) | |
download | puppet-dhcp-4cc54cff2d04eedb672c7cc6b92a5edcccac63c9.tar.gz puppet-dhcp-4cc54cff2d04eedb672c7cc6b92a5edcccac63c9.tar.bz2 |
Add spec tests for the dhcp class
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/hosts.pp | 2 | ||||
-rw-r--r-- | manifests/params.pp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/hosts.pp b/manifests/hosts.pp index b159449..426d661 100644 --- a/manifests/hosts.pp +++ b/manifests/hosts.pp @@ -42,7 +42,7 @@ define dhcp::hosts ( $template = 'dhcp/host.conf.erb', ) { - include dhcp::params + include ::dhcp::params concat::fragment {"dhcp.host.${name}": target => "${dhcp::params::config_dir}/hosts.d/${subnet}.conf", diff --git a/manifests/params.pp b/manifests/params.pp index 925f3f5..0938e4a 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -27,7 +27,7 @@ class dhcp::params { } default: { - fail "${name} is not available for ${::operatingsystem}/${::lsbdistcodename}" + fail "Unsupported OS ${::operatingsystem}/${::lsbdistcodename}" } } |