From ddd95e21523eee9cd441a9e9085c9a46cf2e9e26 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 19 Mar 2016 12:12:02 -0300 Subject: Fix deprecation warnings at backupninja.conf template --- templates/backupninja.conf.erb | 8 ++++---- 1 file 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 %> -- cgit v1.2.3