summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-01-04 18:40:43 +0100
committermh <mh@immerda.ch>2013-01-04 18:40:43 +0100
commit86c536e48d4f01762905fae47e10705d8e80e112 (patch)
tree0e89a081bb5c16e11f3dae5ab560d62e585f6073 /manifests
parent3cc70ef0c9f2b2eef4b251358fd89559e763b471 (diff)
workaround the limitation that puppet can't do complex queries while collecting with stored configs
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 35555f6..2767783 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -51,8 +51,9 @@ class strongswan(
right_subnet => $strongswan::default_left_subnet,
tag => 'strongswan_auto'
}
- # collect all other auto exported except myself
- Strongswan::Remote_Host<<| tag == 'strongswan_auto' and title != $::fqdn |>>
+ # collect all other auto exported
+ # myself is excluded in the template
+ Strongswan::Remote_Host<<| tag == 'strongswan_auto' |>>
}
if $manage_shorewall {