move bacula::node export to bacula::client
authorStephen Gran <steve@lobefin.net>
Sun, 16 Sep 2012 15:21:15 +0000 (16:21 +0100)
committerStephen Gran <steve@lobefin.net>
Sun, 16 Sep 2012 15:21:15 +0000 (16:21 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
manifests/site.pp
modules/bacula/manifests/client.pp

index 46becc7..1015625 100644 (file)
@@ -114,10 +114,6 @@ 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': }
        }
index a718c81..3879e07 100644 (file)
@@ -1,6 +1,10 @@
 class bacula::client inherits bacula {
        @@bacula::storage-per-node { $::fqdn: }
 
+       if $::hostname in [beethoven, berlioz, biber, diabelli, dinis, draghi, geo3, schumann, soler, widor, wolkenstein] {
+               @@bacula::node { $::fqdn: }
+       }
+
        package { ['bacula-fd']:
                ensure => installed
        }