summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-01-01 15:58:35 +0100
committermh <mh@immerda.ch>2013-01-01 15:58:35 +0100
commitd4c988d47112f8905e1cf26cd6560af455cd2159 (patch)
tree731d996545e68a17bf5b46151014d4c0d367c3fe /manifests
parentcfab8b7d03df1b2872ff96e7cb942cc752ff6583 (diff)
extend tags so we can better filter on them
Diffstat (limited to 'manifests')
-rw-r--r--manifests/base.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 05d6d9f..53524b2 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -46,9 +46,9 @@ class strongswan::base {
@@strongswan::remote_host{$::fqdn:
right_cert_content => $::strongswan_cert,
right_ip_address => $default_left_ip_address,
- tag => $::fqdn
+ tag => [ $::fqdn, 'auto' ]
}
- Strongswan::Remote_Host<<| tag != $::fqdn |>>
+ Strongswan::Remote_Host<<| tag == 'auto' and tag != $::fqdn |>>
}
}