diff options
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 |>> } } |