aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/subnet.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/subnet.pp b/manifests/subnet.pp
index e7c72dd..1f069af 100644
--- a/manifests/subnet.pp
+++ b/manifests/subnet.pp
@@ -34,6 +34,8 @@ define dhcp::subnet(
$is_shared = false
) {
+ Dhcp::Subnet[$title] ~> Class['dhcp::server::service']
+
include ::dhcp::params
$ip_re = '^([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3}$'