Skip to content

Commit 0f4716d

Browse files
authored
Merge pull request #26 from piersc/master
Release 0.8
2 parents e5e76f2 + 30a319c commit 0f4716d

File tree

5 files changed

+15
-8
lines changed

5 files changed

+15
-8
lines changed

HACKING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ Now there will be at least one update:
3232
```
3333
auter --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
3737
auter --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
4242
auter --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**

NEWS

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Auter NEWS
22

3+
0.8
4+
* Added ONLYINSTALLFROMPREP option
5+
36
0.7
47
* Updated the .spec file according to Fedora's guidelines
58
* Moved scriptdir from /var/lib/auter to /etc/auter

auter

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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.
@@ -19,7 +19,7 @@
1919
#
2020

2121

22-
readonly AUTERVERSION="0.7"
22+
readonly AUTERVERSION="0.8"
2323
readonly SCRIPTDIR="/etc/auter"
2424
readonly DATADIR="/var/lib/auter"
2525
readonly LOCKFILE="${DATADIR}/enabled"

auter.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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.
66
CONFIGSET="default"
77

88
# Set whether server will reboot automatically after --apply. A warning

auter.spec

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: auter
2-
Version: 0.7
2+
Version: 0.8
33
Release: 1%{?dist}
44
Summary: Prepare and apply updates
55
License: ASL 2.0
@@ -95,6 +95,10 @@ exit 0
9595
%endif
9696

9797
%changelog
98+
* Mon Nov 14 2016 Piers Cornwell <[email protected]> 0.8-1
99+
- Release version 0.8
100+
- Added ONLYINSTALLFROMPREP option
101+
98102
* Thu Aug 04 2016 Piers Cornwell <[email protected]> 0.7-1
99103
- Release version 0.7
100104
- Updated the .spec file according to Fedora's guidelines

0 commit comments

Comments
 (0)