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
This commit is contained in:
parent
0bdff36d8b
commit
db38c567d1
@ -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 %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user