From db38c567d1d7d39e1b70118f0ad4d99ea0052e8b Mon Sep 17 00:00:00 2001 From: Elizabeth Krumbach Joseph Date: Wed, 29 Jan 2014 14:50:05 -0800 Subject: [PATCH] Update some deprecated Puppet variable references While getting these scripts to run on Puppet 3 with Fedora 20, I got a series of warnings about the deprecation of variable names. These changes should also continue to work fine on Puppet 2.7. Change-Id: I232f5f5a9abbe94be9fe2d3b8c82f009c03a11f3 --- templates/packagekit-background.erb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/packagekit-background.erb b/templates/packagekit-background.erb index cc2ee25..2d772b3 100644 --- a/templates/packagekit-background.erb +++ b/templates/packagekit-background.erb @@ -1,17 +1,17 @@ # should we attempt to do this? (valid: yes|no) -ENABLED=<%= enabled %> +ENABLED=<%= @enabled %> # don't install, just check (valid: yes|no) -CHECK_ONLY=<%= check_only %> +CHECK_ONLY=<%= @check_only %> # if MAILTO is set, the mail command is used to deliver PackageKit output # by default MAILTO is unset, so crond mails the output by itself -<% if mailto then %> -MAILTO=<%= mailto %> +<% if @mailto then %> +MAILTO=<%= @mailto %> <% end %> # you may set SYSTEMNAME if you want your PackageKit emails tagged differently # default is output of hostname command -<% if system_name then %> -SYSTEM_NAME=<%= system_name %> +<% if @system_name then %> +SYSTEM_NAME=<%= @system_name %> <% end %>