files
This commit is contained in:
@@ -4,12 +4,16 @@
|
||||
# @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
|
||||
# @param [String] ac_upgrade_type what upgrades to manage
|
||||
##############################################################################
|
||||
class automatic_cd::params (
|
||||
|
||||
String $reqpackages = 'dnf-automatic',
|
||||
String $pkg_ensure = 'latest',
|
||||
|
||||
# updates
|
||||
String $ac_upgrade_type = 'default',
|
||||
|
||||
) {
|
||||
# Facts
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
@@ -22,7 +26,7 @@ class automatic_cd::params (
|
||||
|
||||
# Files
|
||||
$ac_main_config = '/etc/dnf/automatic.conf'
|
||||
$ac_main_config_erb = '/automatic_cd/automatic.conf.erb'
|
||||
$ac_main_config_erb = 'automatic_cd/automatic.conf.erb'
|
||||
|
||||
# includes must be last
|
||||
include automatic_cd::main::config
|
||||
|
||||
Reference in New Issue
Block a user