Files
confdroid_automatic/manifests/params.pp
2025-06-02 17:03:06 +02:00

26 lines
849 B
Puppet

## automatic_cd::params.pp
# Module name: automatic_cd
# Author: Arne Teuke (arne_teuke@confdroid.com)
# @summary Class manages all parameters for the automatic_cd module
# @param [String] reqpackages which packages to install
# @param [String] pkg_ensure which version of packages to install
##############################################################################
class automatic_cd::params (
String $reqpackages = 'dnf-automatic',
String $pkg_ensure = 'latest',
) {
# Facts
$fqdn = $facts['networking']['fqdn']
$domain = $facts['networking']['domain']
$os_name = $facts['os']['name']
$os_release = $facts['os']['release']['major']
# Service
$ac_service = 'dnf-automatic.timer'
# includes must be last
include automatic_cd::main::config
}