aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-03-27 16:42:46 -0400
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-04-17 17:12:16 -0400
commitc20fe552b0b639505bb1ece6408eefb13b806f5e (patch)
tree2e7c14586ebdb296573ffd5634ccd6216fdbdde0
parent90c3dca9096db351aa1fa5646a7bf3ecc57a73d1 (diff)
downloadpuppet-backupninja-c20fe552b0b639505bb1ece6408eefb13b806f5e.tar.gz
puppet-backupninja-c20fe552b0b639505bb1ece6408eefb13b806f5e.tar.bz2
rename $nagios2_description to $nagios_description
-rw-r--r--manifests/rdiff.pp4
-rw-r--r--manifests/rsync.pp4
2 files changed, 4 insertions, 4 deletions
diff --git a/manifests/rdiff.pp b/manifests/rdiff.pp
index ce8da19..bf5dc42 100644
--- a/manifests/rdiff.pp
+++ b/manifests/rdiff.pp
@@ -27,7 +27,7 @@ define backupninja::rdiff(
$vsinclude = false, $keep = 30, $sshoptions = false, $options = '--force', $ssh_dir_manage = true,
$ssh_dir = false, $authorized_keys_file = false, $installuser = true, $installkey = true, $key = false,
$backuptag = false, $backupkeytype = $backupninja::keytype, $backupkeystore = $backupninja::keystore,
- $extras = false, $nagios2_description = 'backups')
+ $extras = false, $nagios_description = 'backups')
{
# install client dependencies
ensure_resource('package', 'rdiff-backup', {'ensure' => $ensure_rdiffbackup_version})
@@ -48,7 +48,7 @@ define backupninja::rdiff(
manage_ssh_dir => $ssh_dir_manage, ssh_dir => $ssh_dir, key => $key,
authorized_keys_file => $authorized_keys_file, installuser => $installuser,
backuptag => $real_backuptag, keytype => $backupkeytype, backupkeys => $backupkeystore,
- nagios2_description => $nagios2_description
+ nagios_description => $nagios_description
}
backupninja::client::key
diff --git a/manifests/rsync.pp b/manifests/rsync.pp
index 30dfdbb..612d1af 100644
--- a/manifests/rsync.pp
+++ b/manifests/rsync.pp
@@ -7,7 +7,7 @@ define backupninja::rsync(
$ssh_dir_manage = true, $ssh_dir = false, $authorized_keys_file = false,
$installuser = true, $installkey = true, $key = false, $backuptag = false,
$home = false, $backupkeytype = $backupninja::keytype, $backupkeystore = $backupninja::keystore, $extras = false,
- $nagios2_description = 'backups', $subfolder = 'rsync',
+ $nagios_description = 'backups', $subfolder = 'rsync',
$log = false, $partition = false, $fscheck = false, $read_only = false,
$mountpoint = false, $backupdir = false, $format = false, $days = false,
@@ -65,7 +65,7 @@ define backupninja::rsync(
backuptag => $real_backuptag,
keytype => $backupkeytype,
backupkeys => $backupkeystore,
- nagios2_description => $nagios2_description
+ nagios_description => $nagios_description
}
backupninja::client::key { "${user}-${name}":