aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMickaël Canévet <mickael.canevet@camptocamp.com>2015-11-04 10:51:53 +0100
committerMickaël Canévet <mickael.canevet@camptocamp.com>2015-11-04 11:05:00 +0100
commit4846943c29c116f223a4187fc177a467b0e9ac89 (patch)
treec252440ebc30a52e53ff297c631b80b09fe3ebc5 /manifests
parent3d06981f4037ca508666a8818e88005d013427a4 (diff)
downloadpuppet-dhcp-4846943c29c116f223a4187fc177a467b0e9ac89.tar.gz
puppet-dhcp-4846943c29c116f223a4187fc177a467b0e9ac89.tar.bz2
Fix missing notification
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}$'