aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/config.pp1
-rw-r--r--templates/backupninja.conf.erb1
2 files changed, 2 insertions, 0 deletions
diff --git a/manifests/config.pp b/manifests/config.pp
index 7cf5b1a..87103db 100644
--- a/manifests/config.pp
+++ b/manifests/config.pp
@@ -11,6 +11,7 @@ define backupninja::config($configfile = '/etc/backupninja.conf',
$logfile = '/var/log/backupninja.log',
$configdir = '/etc/backup.d',
$scriptdir = '/usr/share/backupninja',
+ $libdir = '/usr/lib/backupninja',
$usecolors = true
) {
file { $configfile:
diff --git a/templates/backupninja.conf.erb b/templates/backupninja.conf.erb
index 16579ab..fb2a8be 100644
--- a/templates/backupninja.conf.erb
+++ b/templates/backupninja.conf.erb
@@ -11,4 +11,5 @@ reportwarning = <%= reportwarning ? 'yes' : 'no' %>
logfile = <%= logfile %>
configdirectory = <%= configdir %>
scriptdirectory = <%= scriptdir %>
+libdirectory = <%= libdir %>
usecolors = <%= usecolors ? 'yes' : 'no' %>