File tree Expand file tree Collapse file tree 5 files changed +15
-8
lines changed
Expand file tree Collapse file tree 5 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -32,18 +32,18 @@ Now there will be at least one update:
3232```
3333auter --prep
3434 prints "INFO: Running with: ./auter --prep Updates downloaded", /var/lib/auter/last-prep-auter
35- /var/lib/auter/last-prep-auter contains update info
35+ /var/lib/auter/last-prep-default contains update info
3636
3737auter --apply
3838 prints "INFO: Running with: /usr/bin/auter --apply; Applying updates; Updates complete, you may need to reboot for some updates to take effect
3939 Run 'yum history info' or 'dnf history info' and verify that update was applied
40- /var/lib/auter/last-update-auter contains update info
40+ /var/lib/auter/last-update-default contains update info
4141
4242auter --reboot
4343 prints "INFO: Running with: ./auter --reboot; Rebooting server" followed by shutdown message
4444 tail /var/log/messages should include text "root: custom pre reboot script ran"
4545 cat /etc/cron.d/auter-postreboot-auter should show "@reboot root /usr/bin/auter --postreboot --config auter"
46- After the reboot, tail /var/log/messages should include text "root: custom post reboot script ran"
46+ 5 mins after the reboot, tail /var/log/messages should include text "root: custom post reboot script ran"
4747```
4848
4949** Documentation**
Original file line number Diff line number Diff line change 11Auter NEWS
22
3+ 0.8
4+ * Added ONLYINSTALLFROMPREP option
5+
360.7
47 * Updated the .spec file according to Fedora's guidelines
58 * Moved scriptdir from /var/lib/auter to /etc/auter
Original file line number Diff line number Diff line change 11#! /bin/bash
22#
3- # auter is a yum-cron type package which will implement automatic updates on an
4- # individual server with features such as predownloading packages & reboots.
3+ # auter is a yum-cron type package which implements automatic updates on an
4+ # individual server with features such as predownloading packages and reboots.
55#
66#
77# Copyright 2016 Rackspace, Inc.
1919#
2020
2121
22- readonly AUTERVERSION=" 0.7 "
22+ readonly AUTERVERSION=" 0.8 "
2323readonly SCRIPTDIR=" /etc/auter"
2424readonly DATADIR=" /var/lib/auter"
2525readonly LOCKFILE=" ${DATADIR} /enabled"
Original file line number Diff line number Diff line change 22
33# Set a tag which will be used for files related to this configuration.
44# Log files and postreboot jobs will both be named using this tag.
5- # IMPORTANT: This tag MUST BE UNIQUE on a system to avoid collusions .
5+ # IMPORTANT: This tag MUST BE UNIQUE on a system.
66CONFIGSET="default"
77
88# Set whether server will reboot automatically after --apply. A warning
Original file line number Diff line number Diff line change 11Name: auter
2- Version: 0.7
2+ Version: 0.8
33Release: 1%{?dist }
44Summary: Prepare and apply updates
55License: ASL 2.0
@@ -95,6 +95,10 @@ exit 0
9595%endif
9696
9797%changelog
98+ * Mon Nov 14 2016 Piers Cornwell <piers.cornwell@rackspace.co.uk> 0.8-1
99+ - Release version 0.8
100+ - Added ONLYINSTALLFROMPREP option
101+
98102* Thu Aug 04 2016 Piers Cornwell <piers.cornwell@rackspace.co.uk> 0.7-1
99103- Release version 0.7
100104- Updated the .spec file according to Fedora's guidelines
You can’t perform that action at this time.
0 commit comments