From d4c988d47112f8905e1cf26cd6560af455cd2159 Mon Sep 17 00:00:00 2001 From: mh Date: Tue, 1 Jan 2013 15:58:35 +0100 Subject: extend tags so we can better filter on them --- manifests/base.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests') 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 |>> } } -- cgit v1.2.3