aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2008-06-05 16:26:54 +0000
committerMicah Anderson <micah@riseup.net>2008-06-05 16:26:54 +0000
commitccf4e5a43d3611a514cef77e8474687e3234b01f (patch)
treee017f078731ec4ba5523735162ec23a349384524
parentebcd9d1dfe6ab890cedd1409346f59ee19bb89e6 (diff)
downloadpuppet-backupninja-ccf4e5a43d3611a514cef77e8474687e3234b01f.tar.gz
puppet-backupninja-ccf4e5a43d3611a514cef77e8474687e3234b01f.tar.bz2
config option should be vservers plural
-rw-r--r--manifests/config.pp2
-rw-r--r--templates/backupninja.conf.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/config.pp b/manifests/config.pp
index d530957..f0a8865 100644
--- a/manifests/config.pp
+++ b/manifests/config.pp
@@ -16,7 +16,7 @@ define backupninja::config($configfile = '/etc/backupninja.conf',
$scriptdir = '/usr/share/backupninja',
$libdir = '/usr/lib/backupninja',
$usecolors = true,
- $vserver = false
+ $vservers = false
) {
file { $configfile:
content => template('backupninja/backupninja.conf.erb'),
diff --git a/templates/backupninja.conf.erb b/templates/backupninja.conf.erb
index 1d3aeb8..746e6af 100644
--- a/templates/backupninja.conf.erb
+++ b/templates/backupninja.conf.erb
@@ -16,4 +16,4 @@ configdirectory = <%= configdir %>
scriptdirectory = <%= scriptdir %>
libdirectory = <%= libdir %>
usecolors = <%= usecolors ? 'yes' : 'no' %>
-vserver = <%= vserver ? 'yes' : 'no' %>
+vservers = <%= vserver ? 'yes' : 'no' %>