Alexandros Kosiaris has submitted this change and it was merged. Change subject: ferm rules for bacula ......................................................................
ferm rules for bacula Bug:T104996 Change-Id: I6b67d6a0c39f621eaa4d89385860f8aca1bf6486 --- M manifests/role/backup.pp 1 file changed, 14 insertions(+), 1 deletion(-) Approvals: Muehlenhoff: Looks good to me, but someone else must approve Alexandros Kosiaris: Verified; Looks good to me, approved diff --git a/manifests/role/backup.pp b/manifests/role/backup.pp index 5e4b471..fcb7fcf 100644 --- a/manifests/role/backup.pp +++ b/manifests/role/backup.pp @@ -41,7 +41,7 @@ File <| tag == 'backup-motd' |> # If the machine includes base::firewall then let director connect to us - ferm::rule { 'bacula_director': + ferm::rule { 'bacula-file-demon': rule => "proto tcp dport 9102 { saddr ${role::backup::config::director_ip} ACCEPT; }" } } @@ -252,6 +252,13 @@ description => 'bacula director process', nrpe_command => '/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u bacula -C bacula-dir', } + + ferm::service { 'bacula-director': + proto => 'tcp', + port => '9101', + srange => '$INTERNAL', + } + } class role::backup::storage() { @@ -328,4 +335,10 @@ description => 'bacula sd process', nrpe_command => '/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u bacula -C bacula-sd', } + + ferm::service { 'bacula-storage-demon': + proto => 'tcp', + port => '9103', + srange => '$INTERNAL', + } } -- To view, visit https://gerrit.wikimedia.org/r/223849 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I6b67d6a0c39f621eaa4d89385860f8aca1bf6486 Gerrit-PatchSet: 4 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Dzahn <dz...@wikimedia.org> Gerrit-Reviewer: Alexandros Kosiaris <akosia...@wikimedia.org> Gerrit-Reviewer: Dzahn <dz...@wikimedia.org> Gerrit-Reviewer: Muehlenhoff <mmuhlenh...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits