]> gitweb.fluxo.info Git - puppet-backupninja.git/commitdiff
rename $nagios2_description to $nagios_description
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>
Fri, 27 Mar 2015 20:42:46 +0000 (16:42 -0400)
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>
Fri, 17 Apr 2015 21:12:16 +0000 (17:12 -0400)
manifests/rdiff.pp
manifests/rsync.pp

index ce8da19ab78b2a446f54e4de4e1ad2542ca5f5e7..bf5dc42dd7504c2859e65a22f1522cf91434326e 100644 (file)
@@ -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
index 30dfdbbafb592a7106558c3bf7cbce8ba483ab15..612d1aff4f5f967734021074914c2fe4b76f9a9c 100644 (file)
@@ -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}":