Files
confdroid_automatic/templates/automatic.conf.erb

98 lines
3.7 KiB
Plaintext
Raw Normal View History

2025-06-02 17:03:06 +02:00
###############################################################################
### automatic.conf managed by Puppet. Manual changes will be overwritten! ###
###############################################################################
[commands]
# What kind of upgrade to perform:
# default = all available upgrades
# security = only the security upgrades
2025-06-03 17:01:11 +02:00
upgrade_type = <%= @ac_upgrade_type %>
random_sleep = <%= @ac_random_sleep %>
2025-06-02 17:03:06 +02:00
# Maximum time in seconds to wait until the system is on-line and able to
# connect to remote repositories.
2025-06-03 17:01:11 +02:00
network_online_timeout = <%= @ac_network_online_timeout %>
2025-06-02 17:03:06 +02:00
# To just receive updates use dnf-automatic-notifyonly.timer
# Whether updates should be downloaded when they are available, by
# dnf-automatic.timer. notifyonly.timer, download.timer and
# install.timer override this setting.
2025-06-03 17:01:11 +02:00
download_updates = <%= @ac_download_updates %>
2025-06-02 17:03:06 +02:00
# Whether updates should be applied when they are available, by
# dnf-automatic.timer. notifyonly.timer, download.timer and
# install.timer override this setting.
2025-06-03 17:01:11 +02:00
apply_updates = <%= @ac_apply_updates %>
2025-06-02 17:03:06 +02:00
# When the system should reboot following upgrades:
# never = don't reboot after upgrades
# when-changed = reboot after any changes
# when-needed = reboot when necessary to apply changes
2025-06-03 17:01:11 +02:00
reboot = <%= @ac_reboot %>
2025-06-02 17:03:06 +02:00
# The command that is run to trigger a system reboot.
reboot_command = "shutdown -r +5 'Rebooting after applying package updates'"
[emitters]
# Name to use for this system in messages that are emitted. Default is the
# hostname.
# system_name = my-host
# How to send messages. Valid options are stdio, email and motd. If
# emit_via includes stdio, messages will be sent to stdout; this is useful
# to have cron send the messages. If emit_via includes email, this
# program will send email itself according to the configured options.
# If emit_via includes motd, /etc/motd file will have the messages. if
# emit_via includes command_email, then messages will be send via a shell
# command compatible with sendmail.
# Default is email,stdio.
# If emit_via is None or left blank, no messages will be sent.
2025-06-03 17:01:11 +02:00
emit_via = <%= @ac_emit_via %>
2025-06-02 17:03:06 +02:00
[email]
# The address to send email messages from.
2025-06-03 17:03:15 +02:00
email_from = root@<%= @fqdn %>
2025-06-02 17:03:06 +02:00
# List of addresses to send messages to.
2025-06-03 17:14:47 +02:00
email_to = <%= @ac_email_to %>
2025-06-02 17:03:06 +02:00
# Name of the host to connect to to send email messages.
2025-06-03 17:14:47 +02:00
email_host = <%= @ac_email_host %>
2025-06-02 17:03:06 +02:00
[command]
# The shell command to execute. This is a Python format string, as used in
# str.format(). The format function will pass a shell-quoted argument called
# `body`.
# command_format = "cat"
# The contents of stdin to pass to the command. It is a format string with the
# same arguments as `command_format`.
# stdin_format = "{body}"
[command_email]
# The shell command to use to send email. This is a Python format string,
# as used in str.format(). The format function will pass shell-quoted arguments
# called body, subject, email_from, email_to.
# command_format = "mail -Ssendwait -s {subject} -r {email_from} {email_to}"
# The contents of stdin to pass to the command. It is a format string with the
# same arguments as `command_format`.
# stdin_format = "{body}"
# The address to send email messages from.
2025-06-03 17:14:47 +02:00
email_from = root@<%= @fqdn %>
2025-06-02 17:03:06 +02:00
# List of addresses to send messages to.
2025-06-03 17:14:47 +02:00
email_to = <%= @ac_email_to %>
2025-06-02 17:03:06 +02:00
[base]
# This section overrides dnf.conf
# Use this to filter DNF core messages
debuglevel = 1