aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2013-04-12 15:14:55 +0200
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2013-04-12 15:14:55 +0200
commitc0f46562b70777b9a4a39429d94c49e869150c64 (patch)
tree704909c98dc11bb9206b2c67f3f8557418507a21 /manifests
parent1ad8359dc57c99c1671d7cb41b961c451fb1c22f (diff)
downloadpuppet-dhcp-c0f46562b70777b9a4a39429d94c49e869150c64.tar.gz
puppet-dhcp-c0f46562b70777b9a4a39429d94c49e869150c64.tar.bz2
Fix inverted logic for $is_shared in dhcp::subnet
Diffstat (limited to 'manifests')
-rw-r--r--manifests/subnet.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/subnet.pp b/manifests/subnet.pp
index b70a233..e7c72dd 100644
--- a/manifests/subnet.pp
+++ b/manifests/subnet.pp
@@ -64,8 +64,8 @@ define dhcp::subnet(
}
$ensure_shared = $is_shared ? {
- true => $ensure,
- false => 'absent',
+ true => 'absent',
+ false => $ensure,
}
concat::fragment {"dhcp.subnet.${name}":
ensure => $ensure_shared,