projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Back up draghi too
[mirror/dsa-puppet.git]
/
modules
/
bacula
/
manifests
/
director.pp
diff --git
a/modules/bacula/manifests/director.pp
b/modules/bacula/manifests/director.pp
index
40720b7
..
c60e8b2
100644
(file)
--- a/
modules/bacula/manifests/director.pp
+++ b/
modules/bacula/manifests/director.pp
@@
-18,6
+18,7
@@
class bacula::director inherits bacula {
ensure => directory,
mode => 755,
group => bacula,
ensure => directory,
mode => 755,
group => bacula,
+ purge => true,
notify => Exec["bacula-director restart"]
;
"/etc/bacula/bacula-dir.conf":
notify => Exec["bacula-director restart"]
;
"/etc/bacula/bacula-dir.conf":
@@
-50,7
+51,14
@@
class bacula::director inherits bacula {
;
}
}
;
}
}
- $allhosts = keys($site::allnodeinfo)
-
+
#
$allhosts = keys($site::allnodeinfo)
+ $allhosts = [ "berlioz.debian.org", "biber.debian.org", "draghi.debian.org" ]
bacula_client { $allhosts: }
bacula_client { $allhosts: }
+
+ @ferm::rule { 'dsa-bacula-dir':
+ domain => '(ip ip6)',
+ description => 'Allow bacula access from localhost',
+ rule => "proto tcp mod state state (NEW) dport (bacula-dir) saddr ($bacula_director_address localhost) ACCEPT",
+ }
+
}
}