-
Notifications
You must be signed in to change notification settings - Fork 18
/
auter.conf
66 lines (58 loc) · 3.19 KB
/
auter.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Configuration file for auter
# Set a tag which will be used for files related to this configuration.
# Log files and postreboot jobs will both be named using this tag.
# IMPORTANT: This auter tag MUST BE UNIQUE on a system.
# Valid options: String with no special characters or spaces
CONFIGSET="default"
# Set whether server will reboot automatically after --apply. A warning
# message will show for logged in users 2 mins before the reboot. The
# system will only be rebooted if one or more updates were applied
# successfully, and if all of the custom pre-apply, post-apply and pre-reboot
# scripts exit with a non-zero exit code. It also accepts a space separated
# list of packages in standard regexp format. The matching is against package
# name only, e.g. kernel will match only the kernel-X.X.X-X.rpm package.
# Valid Options: yes/no/kernel.* auter zsh
AUTOREBOOT="no"
# Options to pass to the package manager (yum/dnf/apt) when the update/upgrade
# action is called. For example, this can be used to disable excludes or omit
# packages. If dnf is installed, it will be the preferred package manager.
# Valid Options: Space separated packagemanager options
PACKAGEMANAGEROPTIONS=""
# If the --downloadonly option is available then updates will be downloaded
# during --prep
# Valid Options: yes/no
PREDOWNLOADUPDATES="yes"
# Option to only install the downloaded packages. This option should be used
# when getting multiple servers to apply the same update list (eg to keep a
# uat/staging/prod environment in sync), or when you would like to review the
# updates ahead of applying them. Not setting this option will result in auter
# installing the latest available packages at the time apply runs.
# NOTE: The PREDOWNLOADUPDATES must be set to "yes" for this to take effect.
# The directory must be owned by user and group 'root' and must not be writable
# by other.
# Valid Options: yes/no
ONLYINSTALLFROMPREP="no"
# MAXDELAY is upper limit of a random time to wait before querying repositories.
# This applies to downloading updates (--prep) and installing updates (--apply).
# This is used to stagger load on the repository servers. Default is
# 3600 seconds so yum/dnf waits a random time between 1 and 3600 seconds.
# Value is set in seconds
# Valid Options: Positive Integer
MAXDELAY="3600"
# If there is a package manager lock then auter can be configured to wait for
# the lock to be released. There are 2 configurables. The wait time is set in
# PACKAGEMANAGERLOCKWAITTIME set in seconds. You can also define how many
# times to attemt before auter exits
PACKAGEMANAGERLOCKWAITTIME="60"
PACKAGEMANAGERLOCKRETRIES="5"
# Directories containing scripts to execute before and after updates are prepared,
# applied, and before/after a reboot (if applicable). Scripts in these
# directories must be executable (+x) for auter to run them. If any pre/post
# scripts run by auter exit with a non-zero exit code, auter will exit
# immediately before running any further actions.
PREPREPSCRIPTDIR="/etc/auter/pre-prep.d"
POSTPREPSCRIPTDIR="/etc/auter/post-prep.d"
PREAPPLYSCRIPTDIR="/etc/auter/pre-apply.d"
POSTAPPLYSCRIPTDIR="/etc/auter/post-apply.d"
PREREBOOTSCRIPTDIR="/etc/auter/pre-reboot.d"
POSTREBOOTSCRIPTDIR="/etc/auter/post-reboot.d"