80684069b6
This module supports automatic upgrades on RHEL/Centos slaves. It works by installing PackageKit-cron and updating the config file to enable automatic updates. PackageKit-cron runs once a day via cron. Fixes LP Bug #1180948. Change-Id: I901ebf5f48fabee9456333ade0c141beacac62e6 Reviewed-on: https://review.openstack.org/29422 Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
18 lines
525 B
Plaintext
18 lines
525 B
Plaintext
# should we attempt to do this? (valid: yes|no)
|
|
ENABLED=<%= enabled %>
|
|
|
|
# don't install, just check (valid: yes|no)
|
|
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 %>
|
|
<% 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 %>
|
|
<% end %>
|