diff options
author | Antoine Beaupre <anarcat@koumbit.org> | 2009-04-27 15:21:21 -0400 |
---|---|---|
committer | Antoine Beaupre <anarcat@koumbit.org> | 2009-04-27 15:21:21 -0400 |
commit | bc2b6bd0e4222a6477ae806a5329480a3ecf873b (patch) | |
tree | 2946298ef229d20c30acfcddc7fbfdced1320728 /manifests | |
parent | 6ed0d0399c42187ec3ed0ef54c39a9c1b70aff91 (diff) | |
download | puppet-backupninja-bc2b6bd0e4222a6477ae806a5329480a3ecf873b.tar.gz puppet-backupninja-bc2b6bd0e4222a6477ae806a5329480a3ecf873b.tar.bz2 |
add backups servicegroup, put rdiff in a seperate class so we can override
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/server.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/server.pp b/manifests/server.pp index 3978f3a..77fc33d 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -41,7 +41,8 @@ class backupninja::server { File <<| tag == "backupninja-$real_backupserver_tag" |>> Ssh_authorized_key <<| tag == "backupninja-$real_backupserver_tag" |>> - package { [ "rsync", "rdiff-backup" ]: ensure => installed } + package { "rsync": ensure => installed } + include backupninja::rdiff-installed # this define allows nodes to declare a remote backup sandbox, that have to # get created on the server @@ -82,7 +83,7 @@ class backupninja::server { } # configure a passive service check for backups - nagios2::passive_service { "backups-$real_host": nagios2_host_name => $real_host, nagios2_description => 'backups' } + nagios2::passive_service { "backups-$real_host": nagios2_host_name => $real_host, nagios2_description => 'backups', servicegroups => "backups" } @@file { "$real_dir": ensure => directory, |