diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-03-19 12:12:02 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-03-19 12:12:02 -0300 |
commit | ddd95e21523eee9cd441a9e9085c9a46cf2e9e26 (patch) | |
tree | a1a18b522470edc184bfbf2dfffef6426305d2d7 | |
parent | 72bb9a5cd5c20413992f140476d43ca837f65c1d (diff) | |
download | puppet-backupninja-ddd95e21523eee9cd441a9e9085c9a46cf2e9e26.tar.gz puppet-backupninja-ddd95e21523eee9cd441a9e9085c9a46cf2e9e26.tar.bz2 |
Fix deprecation warnings at backupninja.conf template
-rw-r--r-- | templates/backupninja.conf.erb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/backupninja.conf.erb b/templates/backupninja.conf.erb index 7706a61..38f78c2 100644 --- a/templates/backupninja.conf.erb +++ b/templates/backupninja.conf.erb @@ -4,17 +4,17 @@ # service in Puppet. loglevel = <%= @loglvl %> -when = <%= send(:when) %> +when = <%= @when %> reportemail = <%= @reportemail %> reportsuccess = <%= @reportsuccess ? 'yes' : 'no' %> reportwarning = <%= @reportwarning ? 'yes' : 'no' %> -<% if reporthost.is_a? String -%> +<% if @reporthost.is_a? String -%> <%= 'reporthost = ' + @reporthost %> <% end -%> -<% if reportuser.is_a? String -%> +<% if @reportuser.is_a? String -%> <%= 'reportuser = ' + @reportuser %> <% end -%> -<% if reportdirectory.is_a? String -%> +<% if @reportdirectory.is_a? String -%> <%= 'reportdirectory = ' + @reportdirectory %> <% end -%> logfile = <%= @logfile %> |