Move listen-address information out of manifest and into hiera
[mirror/dsa-puppet.git] / modules / ferm / templates / me.conf.erb
index 21d3548..c392a27 100644 (file)
@@ -44,6 +44,10 @@ if restrict_ssh.include?(@hostname) then
                ssh4allowed << %w{$HOST_DEBIAN_V4}
                ssh6allowed << %w{$HOST_DEBIAN_V6}
        end
+       if scope.function_has_role(['puppetmaster']) then
+               ssh4allowed << "5.153.231.5" # adayevskaya
+               ssh6allowed << "2001:41c8:1000:21::21:5" # adayevskaya
+       end
        if scope.function_has_role(['dns_primary']) then
                ssh4allowed << "5.153.231.5" # adayevskaya
                ssh6allowed << "2001:41c8:1000:21::21:5" # adayevskaya