]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - manifests/site.pp
Make bacula backups of geo3, schumann, soler
[dsa-puppet.git] / manifests / site.pp
index e00a87d032b0159df85750a2dfea134307c77c74..e56ca7d112f44be264fb56a366d9d7a78c82bed9 100644 (file)
@@ -37,12 +37,20 @@ node default {
        include unbound
        include bacula::client
 
-       if $::hostname in [pasquini,tristano,bertali,boito,byrd] {
+       if $::hostname in [pasquini,tristano,bertali,boito,byrd,clementi] {
                include ganeti2
        }
 
        if $::hostname == 'dinis' {
                include bacula::director
+       } else {
+               package { 'bacula-console':
+                       ensure => purged;
+               }
+
+               file { '/etc/bacula/bconsole.conf':
+                       ensure => absent;
+               }
        }
 
        if $::hostname == 'beethoven' {
@@ -106,6 +114,10 @@ node default {
                include postgres
        }
 
+       if $::hostname in [beethoven, berlioz, biber, diabelli, dinis, draghi, geo3, schumann, soler, widor, wolkenstein] {
+               @@bacula::node { $::fqdn: }
+       }
+
        if $::spamd {
                munin::check { 'spamassassin': }
        }