-
Notifications
You must be signed in to change notification settings - Fork 2
/
params.pp
49 lines (45 loc) · 3.04 KB
/
params.pp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# File:: <tt>params.pp</tt>
# Author:: UL HPC Management Team ([email protected])
# Copyright:: Copyright (c) 2015 UL HPC Management Team
# License:: Gpl-3.0
#
# ------------------------------------------------------------------------------
# You need the 'future' parser to be able to execute this manifest (that's
# required for the each loop below).
#
# Thus execute this manifest in your vagrant box as follows:
#
# sudo puppet apply -t --parser future /vagrant/tests/params.pp
#
#
include 'backupninja::params'
$names = ['ensure', 'loglevel', 'reportemail', 'reportsuccess', 'reportinfo', 'reportwarning', 'reportspace', 'reporthost', 'reportuser', 'reportdirectory', 'admingroup', 'logfile', 'configdirectory', 'scriptdirectory', 'usecolors', 'when', 'vservers', 'libdirectory', 'packagename', 'configfile', 'configfile_mode', 'taskfile_mode', 'lvmnetbackup_mode', 'configfile_owner', 'configfile_group']
notice("backupninja::params::ensure = ${backupninja::params::ensure}")
notice("backupninja::params::loglevel = ${backupninja::params::loglevel}")
notice("backupninja::params::reportemail = ${backupninja::params::reportemail}")
notice("backupninja::params::reportsuccess = ${backupninja::params::reportsuccess}")
notice("backupninja::params::reportinfo = ${backupninja::params::reportinfo}")
notice("backupninja::params::reportwarning = ${backupninja::params::reportwarning}")
notice("backupninja::params::reportspace = ${backupninja::params::reportspace}")
notice("backupninja::params::reporthost = ${backupninja::params::reporthost}")
notice("backupninja::params::reportuser = ${backupninja::params::reportuser}")
notice("backupninja::params::reportdirectory = ${backupninja::params::reportdirectory}")
notice("backupninja::params::admingroup = ${backupninja::params::admingroup}")
notice("backupninja::params::logfile = ${backupninja::params::logfile}")
notice("backupninja::params::configdirectory = ${backupninja::params::configdirectory}")
notice("backupninja::params::scriptdirectory = ${backupninja::params::scriptdirectory}")
notice("backupninja::params::usecolors = ${backupninja::params::usecolors}")
notice("backupninja::params::when = ${backupninja::params::when}")
notice("backupninja::params::vservers = ${backupninja::params::vservers}")
notice("backupninja::params::libdirectory = ${backupninja::params::libdirectory}")
notice("backupninja::params::packagename = ${backupninja::params::packagename}")
notice("backupninja::params::configfile = ${backupninja::params::configfile}")
notice("backupninja::params::configfile_mode = ${backupninja::params::configfile_mode}")
notice("backupninja::params::taskfile_mode = ${backupninja::params::taskfile_mode}")
notice("backupninja::params::lvmnetbackup_mode = ${backupninja::params::lvmnetbackup_mode}")
notice("backupninja::params::configfile_owner = ${backupninja::params::configfile_owner}")
notice("backupninja::params::configfile_group = ${backupninja::params::configfile_group}")
#each($names) |$v| {
# $var = "backupninja::params::${v}"
# notice("${var} = ", inline_template('<%= scope.lookupvar(@var) %>'))
#}