aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/hosts.pp2
-rw-r--r--manifests/params.pp2
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}"
}
}