From: Peter Palfrader Date: Sat, 21 Sep 2019 10:33:45 +0000 (+0200) Subject: I am still unsure how to do tags properly X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=b0c1106ce984a7a37b73a354cf894bf85737d42b;p=mirror%2Fdsa-puppet.git I am still unsure how to do tags properly --- diff --git a/modules/roles/manifests/archvsync_base.pp b/modules/roles/manifests/archvsync_base.pp index d51f26030..2620f4d34 100644 --- a/modules/roles/manifests/archvsync_base.pp +++ b/modules/roles/manifests/archvsync_base.pp @@ -19,5 +19,5 @@ class roles::archvsync_base { target => '/home/archvsync/.ssh/authorized_keys', } - Ferm::Rule::Simple <<| tag == 'ssh::server::allow::archvsync' |>> + Ferm::Rule::Simple <<| tag == 'ssh::server::to::archvsync' |>> } diff --git a/modules/roles/manifests/mirrormaster.pp b/modules/roles/manifests/mirrormaster.pp index 510f63168..a1690e452 100644 --- a/modules/roles/manifests/mirrormaster.pp +++ b/modules/roles/manifests/mirrormaster.pp @@ -3,7 +3,7 @@ class roles::mirrormaster( ) { @@ferm::rule::simple { "dsa-ssh-from-mirrormaster-${::fqdn}": - tag => 'ssh::server::allow::archvsync', + tag => 'ssh::server::to::archvsync', description => 'Allow ssh access from the mirrormaster', port => '22', saddr => $base::public_addresses,