aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-08-27 21:08:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2009-08-27 21:08:54 -0300
commit3262942cba7b324e7c23756ef026e28053acfa95 (patch)
treeeb9a48636fbb776ee77a8f5bac9475783501d6f8
parent73993f09fe8e479706084f47da833796b131a45a (diff)
downloadpuppet-backupninja-3262942cba7b324e7c23756ef026e28053acfa95.tar.gz
puppet-backupninja-3262942cba7b324e7c23756ef026e28053acfa95.tar.bz2
Removing wrong defined() call
-rw-r--r--manifests/rdiff.pp10
1 files changed, 4 insertions, 6 deletions
diff --git a/manifests/rdiff.pp b/manifests/rdiff.pp
index d34fc88..55aa382 100644
--- a/manifests/rdiff.pp
+++ b/manifests/rdiff.pp
@@ -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
}
}
}