config file

This commit is contained in:
Arne Teuke
2025-06-03 17:01:11 +02:00
parent 06388a2f71
commit 06fa35b7f8
2 changed files with 24 additions and 11 deletions

View File

@@ -5,14 +5,27 @@
# @param [String] reqpackages which packages to install
# @param [String] pkg_ensure which version of packages to install
# @param [String] ac_upgrade_type what upgrades to manage
# @param [String] ac_random_sleep random sleep seconds
# @param [String] ac_network_online_timeout Maximum time until be online
# @param [String] ac_download_updates whether to download available updates
# @param [String] ac_apply_updates whether to apply available updates
# @param [String] ac_reboot when to reboot after applied updates
# @param [String] ac_emit_via how to inform about emitted updates
##############################################################################
class automatic_cd::params (
String $reqpackages = 'dnf-automatic',
String $pkg_ensure = 'latest',
String $reqpackages = 'dnf-automatic',
String $pkg_ensure = 'latest',
# updates
String $ac_upgrade_type = 'default',
String $ac_upgrade_type = 'default',
String $ac_random_sleep = '0',
String $ac_network_online_timeout = '60',
String $ac_download_updates = 'yes',
String $ac_apply_updates = 'yes',
String $ac_reboot = 'never',
String $ac_emit_via = 'email',
) {
# Facts