diff options
author | mh <mh@immerda.ch> | 2013-01-01 15:58:35 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-01-01 15:58:35 +0100 |
commit | d4c988d47112f8905e1cf26cd6560af455cd2159 (patch) | |
tree | 731d996545e68a17bf5b46151014d4c0d367c3fe /manifests | |
parent | cfab8b7d03df1b2872ff96e7cb942cc752ff6583 (diff) |
extend tags so we can better filter on them
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/base.pp | 4 |
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 |>> } } |