Puppet Class: automatic_cd::params
- Inherited by:
-
automatic_cd::main::dirs
automatic_cd::main::files
automatic_cd::main::config
automatic_cd::main::install
automatic_cd::main::service
- Defined in:
- manifests/params.pp
Summary
Class manages all parameters for the automatic_cd moduleOverview
automatic_cd::params.pp Module name: automatic_cd Author: Arne Teuke (arne_teuke@confdroid.com)
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 |
# File 'manifests/params.pp', line 9
class automatic_cd::params (
String $reqpackages = 'dnf-automatic',
String $pkg_ensure = 'latest',
# updates
String $ac_upgrade_type = 'default',
) {
# 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'
# Files
$ac_main_config = '/etc/dnf/automatic.conf'
$ac_main_config_erb = 'automatic_cd/automatic.conf.erb'
# includes must be last
include automatic_cd::main::config
}
|