]> gitweb.fluxo.info Git - puppet-backupninja.git/commitdiff
Removing wrong defined() call
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Aug 2009 00:08:54 +0000 (21:08 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Aug 2009 00:08:54 +0000 (21:08 -0300)
manifests/rdiff.pp

index d34fc881ce39dd1fe1ea4803bb8aa0c270a6c56a..55aa3822d9c63aaa8d62947d2be88fb136cdd4ec 100644 (file)
@@ -48,12 +48,10 @@ define backupninja::rdiff(
         backuptag => $backuptag, keytype => $backupkeytype,
       }
      
-      if !defined(Backupninja::client::key["${user}-${name}"]) {
-        backupninja::client::key
-        {
-          "${user}-${name}": user => $user, host => $host,
-          installkey => $installkey
-        }
+      backupninja::client::key
+      {
+        "${user}-${name}": user => $user, host => $host,
+        installkey => $installkey
       }
     }
   }