Signed-off-by: Stephen Gran <steve@lobefin.net>
if $::hostname in [berlioz, biber, draghi] {
include bacula::client
if $::hostname in [berlioz, biber, draghi] {
include bacula::client
- @@bacula::node { $::fqdn: }
}
if $::hostname == 'beethoven' {
}
if $::hostname == 'beethoven' {
notify => Service['bacula-director']
}
notify => Service['bacula-director']
}
file { '/etc/bacula/bacula-dir.conf':
content => template('bacula/bacula-dir.conf.erb'),
mode => '0440',
file { '/etc/bacula/bacula-dir.conf':
content => template('bacula/bacula-dir.conf.erb'),
mode => '0440',
description => 'Allow bacula access from localhost',
rule => "proto tcp mod state state (NEW) dport (bacula-dir) saddr (${bacula_director_address} localhost) ACCEPT",
}
description => 'Allow bacula access from localhost',
rule => "proto tcp mod state state (NEW) dport (bacula-dir) saddr (${bacula_director_address} localhost) ACCEPT",
}
+
+ $clients = ['berlioz.debian.org', 'biber.debian.org', 'draghi.debian.org']
+ bacula::node { $clients: }
+
reports = store, http
reporturl = http://puppet-dashboard.debian.org:3000/reports/upload
config_version = cat /etc/puppet/.config-version
reports = store, http
reporturl = http://puppet-dashboard.debian.org:3000/reports/upload
config_version = cat /etc/puppet/.config-version
-storeconfigs = true
-dbadapter=mysql
-dbuser=puppet
-dbpassword=Oof0shee6Athoesh
-dbserver=localhost