]> 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 1db00d81f6af53f8fed98284425522906b99c07e..e56ca7d112f44be264fb56a366d9d7a78c82bed9 100644 (file)
@@ -35,13 +35,26 @@ node default {
        include resolv
        include roles
        include unbound
+       include bacula::client
 
-       if $::hostname in [pasquini,tristano] {
+       if $::hostname in [pasquini,tristano,bertali,boito,byrd,clementi] {
                include ganeti2
        }
 
        if $::hostname == 'dinis' {
-               include bacula-director
+               include bacula::director
+       } else {
+               package { 'bacula-console':
+                       ensure => purged;
+               }
+
+               file { '/etc/bacula/bconsole.conf':
+                       ensure => absent;
+               }
+       }
+
+       if $::hostname == 'beethoven' {
+               include bacula::storage
        }
 
        if $::kernel == Linux {
@@ -79,7 +92,7 @@ node default {
                include dacs
        }
 
-       if $::hostname in [beethoven,duarte,spohr,stabile] {
+       if $::hostname in [beethoven,spohr,stabile,beach] {
                include nfs-server
        }
 
@@ -101,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': }
        }