Commit 7f7101d5 authored by Micah Anderson's avatar Micah Anderson
Browse files

change to standardized formatting

parent d0b893af
......@@ -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
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment