projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Note vsftp* config files are under puppet control
[mirror/dsa-puppet.git]
/
modules
/
bacula
/
manifests
/
client.pp
diff --git
a/modules/bacula/manifests/client.pp
b/modules/bacula/manifests/client.pp
index
e7506bf
..
b6f0372
100644
(file)
--- a/
modules/bacula/manifests/client.pp
+++ b/
modules/bacula/manifests/client.pp
@@
-1,4
+1,9
@@
class bacula::client inherits bacula {
class bacula::client inherits bacula {
+ @@bacula::storage-per-node { $::fqdn: }
+
+ if $::hostname in [beethoven, berlioz, biber, diabelli, dinis, draghi, geo3, schumann, soler, widor, wilder, wolkenstein] {
+ @@bacula::node { $::fqdn: }
+ }
package { ['bacula-fd']:
ensure => installed
package { ['bacula-fd']:
ensure => installed
@@
-24,6
+29,21
@@
class bacula::client inherits bacula {
mode => '0775',
source => 'puppet:///modules/bacula/postbaculajob',
;
mode => '0775',
source => 'puppet:///modules/bacula/postbaculajob',
;
+ '/etc/default/bacula-fd':
+ content => template('bacula/default.bacula-fd.erb'),
+ mode => '0400',
+ owner => root,
+ group => root,
+ require => Package['bacula-fd'],
+ notify => Service['bacula-fd'],
+ ;
+ '/etc/apt/preferences.d/dsa-bacula-client':
+ content => template('bacula/apt.preferences.bacula-client.erb'),
+ mode => '0444',
+ owner => root,
+ group => root,
+ ;
+
}
@ferm::rule { 'dsa-bacula-fd-v4':
}
@ferm::rule { 'dsa-bacula-fd-v4':