AUTER.CONF(5)

πŸ“¦ version 1.0.0, in epel 10, epel 9, fedora 43, fedora 44

πŸ’– AUTER.CONF(5) πŸ’–

okay bestie, buckle up β€” this is the manual page for auter.conf, living its best life in the File Formats section of the man pages. it's a config file, it's five-ish, it's iconic, let's go πŸ¦‹


✨ NAME ✨

auter.conf β€” the config file for auter, periodt πŸ’…


✨ SYNOPSIS ✨

/etc/auter/auter.conf

✨ DESCRIPTION ✨

this is the default config file for auter. that's the whole vibe. she's the blueprint 🌸


✨ OPTIONS ✨

no cap, every single one of these matters. let's get into it πŸŽ€

  • CONFIGSET β€” this is the name tag for this config file. log files, auter generated files and postreboot jobs will all be named using this tag.
IMPORTANT: this auter tag MUST BE UNIQUE on a system. like, do not duplicate her, she is one of one πŸ‘‘
  • Valid options: String with no special characters or spaces
  • Examples:
CONFIGSET="default"
CONFIGSET="kernelonly"
CONFIGSET="dailyupdate"
  • AUTOREBOOT β€” this controls if auter will automatically reboot the server after updates have been installed. the system will only be rebooted if one or more updates were applied successfully. if you require a reboot even when no updates were applied, leave AUTOREBOOT set to "no" and add the --reboot option to the auter command. sneaky little workaround, love that for you πŸ™ˆ
    • NOTES:
      • if yum fails to complete the transaction, auter will exit before the reboot phase is initiated
      • if there are no updates available (relevant to this profile) auter will not initiate the reboot
      • all relevant pre-apply, post-apply and pre-reboot scripts must return a zero exit code
    • Valid options: yes/no
  • PACKAGEMANAGEROPTIONS β€” options to pass to the (relevant) package manager (yum/dnf/apt) when the update/upgrade action is called. if dnf is installed, it will be the preferred package manager. she picks favourites, and that's fine πŸ’…
    • Valid options: Space separated package manager options
    • Examples:
PACKAGEMANAGEROPTIONS="--disableexcludes=all"
PACKAGEMANAGEROPTIONS="--disablerepo=epel"
PACKAGEMANAGEROPTIONS="--enablerepo=epel --exclude=auter*"
  • PREDOWNLOADUPDATES β€” if the --downloadonly option is available then updates will be downloaded during the --prep prep stage. get ahead of it, bestie ⭐
    • NOTES:
      • this is only useful if you run the prep and apply phase's are run at different times.
      • if you intend to use ONLYINSTALLFROMPREP this needs to be set to yes
    • Valid options: yes/no
  • ONLYINSTALLFROMPREP β€” 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. choose your fighter 🫢
    • NOTES:
      • 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
  • MAXDELAY β€” 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. it's giving ✨load balancing✨
    • NOTES:
      • value is set in seconds
      • this delay is ignored when auter is manually executed
    • Valid options: 1-3600
    • Default: 3600
    • Examples:
MAXDELAY=60
  • PACKAGEMANAGERLOCKWAITTIME β€” if there is a package manager lock then auter can be configured to wait for the lock to be released. PACKAGEMANAGERLOCKWAITTIME is the amount of time that auter will wait before retrying the update. patience is a virtue fr fr 🧚
    • Valid options: Any number greater than 1
    • Default: 60
  • PACKAGEMANAGERLOCKRETRIES β€” if there is a package manager lock then auter can be configured to wait for the lock to be released. PACKAGEMANAGERLOCKRETRIES is the amount of retry attempts that will be made. she's persistent, she's trying her best πŸ’œ
    • Valid options: Any number greater than 1
    • Default: 5

πŸŽ€ Custom script hooks πŸŽ€

these are the options for setting directories containing scripts to execute before and after updates are prepared, applied, and before/after a reboot (if applicable).

  • NOTES:
    • if you are using multiple auter profiles which require different scripts to be executed, this is where you should specify the script directories.
    • scripts in these directories must be executable (+x) for auter to run them
    • if any scripts run by auter exit with a non-zero exit code, auter will exit immediately before running any further actions

the directories 🌈

  • PREPREPSCRIPTDIR
    • Default: /etc/auter/pre-prep.d
  • POSTPREPSCRIPTDIR
    • Default: /etc/auter/post-prep.d
  • PREAPPLYSCRIPTDIR
    • Default: /etc/auter/pre-apply.d
  • POSTAPPLYSCRIPTDIR
    • Default: /etc/auter/post-apply.d
  • PREREBOOTSCRIPTDIR
    • Default: /etc/auter/pre-reboot.d
  • POSTREBOOTSCRIPTDIR
    • Default: /etc/auter/post-reboot.d

πŸ› REPORTING BUGS πŸ›

please report any bugs by raising an issue against the github page or email us at:

https://github.com/rackerlabs/auter/issues
auter-devel@rackspace.com

πŸ‘€ SEE ALSO πŸ‘€

auter(1), cron(8), crontab(5), yum(8)


and that's the whole page, bestie!! πŸ¦‹βœ¨ this manual page is from auter 0.11, dated May 2018 β€” shoutout to the era that gave us this absolute queen of a config file. go forth and configure responsibly, mwah πŸ’…πŸ’–

πŸ“¦ where this page comes from