aboutsummaryrefslogtreecommitdiff
path: root/manifests/config.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/config.pp')
-rw-r--r--manifests/config.pp37
1 files changed, 15 insertions, 22 deletions
diff --git a/manifests/config.pp b/manifests/config.pp
index f0a8865..668904e 100644
--- a/manifests/config.pp
+++ b/manifests/config.pp
@@ -2,26 +2,19 @@
# little more than just take the config options you specify in the define and
# write them to the config file as-is.
#
-define backupninja::config($configfile = '/etc/backupninja.conf',
- $loglvl = 4,
- $when = '01:00',
- $reportemail = 'root',
- $reportsuccess = false,
- $reportwarning = true,
- $reporthost = $reporthost,
- $reportuser = $reportuser,
- $reportdirectory = $reportdirectory,
- $logfile = '/var/log/backupninja.log',
- $configdir = '/etc/backup.d',
- $scriptdir = '/usr/share/backupninja',
- $libdir = '/usr/lib/backupninja',
- $usecolors = true,
- $vservers = false
- ) {
- file { $configfile:
- content => template('backupninja/backupninja.conf.erb'),
- owner => root,
- group => root,
- mode => 0644
- }
+define backupninja::config(
+ $configfile = '/etc/backupninja.conf', $loglvl = 4, $when = '01:00',
+ $reportemail = 'root', $reportsuccess = false, $reportwarning = true,
+ $reporthost = $reporthost, $reportuser = $reportuser,
+ $reportdirectory = $reportdirectory,
+ $logfile = '/var/log/backupninja.log', $configdir = '/etc/backup.d',
+ $scriptdir = '/usr/share/backupninja', $libdir = '/usr/lib/backupninja',
+ $usecolors = true, $vservers = false)
+{
+ file { $configfile:
+ content => template('backupninja/backupninja.conf.erb'),
+ owner => root,
+ group => root,
+ mode => 0644
+ }
}