I am still unsure how to do tags properly
authorPeter Palfrader <peter@palfrader.org>
Sat, 21 Sep 2019 10:33:45 +0000 (12:33 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sat, 21 Sep 2019 10:33:45 +0000 (12:33 +0200)
modules/roles/manifests/archvsync_base.pp
modules/roles/manifests/mirrormaster.pp

index d51f260..2620f4d 100644 (file)
@@ -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' |>>
 }
index 510f631..a1690e4 100644 (file)
@@ -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,