aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-04-17 15:19:59 -0400
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-04-17 17:12:16 -0400
commit8d97365688f59a8990fa549d0a0cc227d1187e76 (patch)
tree6305d85d28fdcdf8ec47858e0fa540b1636c6cec /templates
parentd18c3e038a1018a86b6cd94b7076cd8bc7163271 (diff)
downloadpuppet-backupninja-8d97365688f59a8990fa549d0a0cc227d1187e76.tar.gz
puppet-backupninja-8d97365688f59a8990fa549d0a0cc227d1187e76.tar.bz2
Merge backupninja:config class into base client class
Diffstat (limited to 'templates')
-rw-r--r--templates/backupninja.conf.erb12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/backupninja.conf.erb b/templates/backupninja.conf.erb
index abc7c29..fe7affa 100644
--- a/templates/backupninja.conf.erb
+++ b/templates/backupninja.conf.erb
@@ -8,14 +8,14 @@ when = <%= send(:when) %>
reportemail = <%= reportemail %>
reportsuccess = <%= reportsuccess ? 'yes' : 'no' %>
reportwarning = <%= reportwarning ? 'yes' : 'no' %>
-<% if reporthost.is_a? String -%>
-<%= 'reporthost = ' + reporthost %>
+<% if @reporthost -%>
+<%= 'reporthost = ' + @reporthost %>
<% end -%>
-<% if reportuser.is_a? String -%>
-<%= 'reportuser = ' + reportuser %>
+<% if @reportuser -%>
+<%= 'reportuser = ' + @reportuser %>
<% end -%>
-<% if reportdirectory.is_a? String -%>
-<%= 'reportdirectory = ' + reportdirectory %>
+<% if @reportdirectory -%>
+<%= 'reportdirectory = ' + @reportdirectory %>
<% end -%>
logfile = <%= logfile %>
configdirectory = <%= configdir %>