From 4ed2c73059441caf22a019f4acf51822574708b7 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sun, 16 Sep 2012 16:21:15 +0100 Subject: [PATCH] move bacula::node export to bacula::client Signed-off-by: Stephen Gran --- manifests/site.pp | 4 ---- modules/bacula/manifests/client.pp | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/site.pp b/manifests/site.pp index 46becc70..10156252 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -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': } } diff --git a/modules/bacula/manifests/client.pp b/modules/bacula/manifests/client.pp index a718c812..3879e076 100644 --- a/modules/bacula/manifests/client.pp +++ b/modules/bacula/manifests/client.pp @@ -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 } -- 2.39.2