yum_cron
: Manage yum-cron
yum_cron::config
: Manage yum-cron configsyum_cron::install
: Install yum-cronyum_cron::service
: Manage yum-cron service
dnf_automatic_config
: Section/setting name to manage from dnf-automatic.confyum_cron_config
: Section/setting name to manage from yum-cron.confyum_cron_hourly_config
: Section/setting name to manage from yum-cron-hourly.conf
Yum_cron::Update_cmd
: yum-cron update cmd
Manage yum-cron
The following parameters are available in the yum_cron
class:
ensure
enable
download_updates
apply_updates
upgrade_type
debug_level
exclude_packages
randomwait
mailto
systemname
email_host
update_cmd
update_messages
extra_configs
extra_hourly_configs
yum_autoupdate_ensure
package_ensure
package_name
service_name
service_ensure
service_enable
service_hasstatus
service_hasrestart
config_path
Data type: Enum['present', 'absent']
Defines the presence of yum-cron
.
Default value: 'present'
Data type: Boolean
Boolean that defines the state of yum-cron
.
Default value: true
Data type: Boolean
Boolean that determines if updates should be automatically downloaded.
Default value: true
Data type: Boolean
Boolean that determines if updates should be automatically installed.
If set to true
then download_updates
ignored.
Default value: false
Data type: Enum['default','security']
The kind of updates to perform. Applies only to EL8, EL9.
Default value: 'default'
Data type: Pattern[/^(?:-)?[0-9]$/]
Sets debug level.
Default value: '-2'
Data type: Array
Packages to exclude from updates.
Default value: []
Data type: Pattern[/^[0-9]+$/]
Sets random wait time.
Default value: '360'
Data type: String
Address notified about updates.
Default value: 'root'
Data type: String
Name of system used in notifications.
Default value: $facts['networking']['fqdn']
Data type: String
Host used to send email messages.
Default value: 'localhost'
Data type: Yum_cron::Update_cmd
The kind of updates to use. Applies only to EL7. Valid values:
- default = yum upgrade
- security = yum --security upgrade
- security-severity:Critical = yum --sec-severity=Critical upgrade
- minimal = yum --bugfix upgrade-minimal
- minimal-security = yum --security upgrade-minimal
- minimal-security-severity:Critical = --sec-severity=Critical upgrade-minimal
Default value: 'default'
Data type: Enum['yes','no']
Determines whether a message should be emitted when updates are available, downloaded, and applied. Applies only to EL7.
Default value: 'yes'
Data type: Hash
Hash that can be used to define additional configurations. Applies only to EL7, EL8, and EL9.
For EL8 and EL9 the hash defines additonal dnf_automatic_config
resources.
For EL7 the hash defines additional yum_cron_config
resources.
Default value: {}
Data type: Hash
Hash that can be used to define additional hourly configurations. Applies only to EL7.
For EL7 the hash defines additional yum_cron_hourly_config
resources.
Default value: {}
Data type: Enum['undef', 'UNSET', 'absent', 'disabled']
Defines how to handle yum-autoupdate on Scientific Linux systems. Applies only to Scientific Linux. Valid values:
- 'disabled' (default) - Sets ENABLED='false' in /etc/sysconfig/yum-autoupdate.
- 'absent' - Uninstall the yum-autoupdate package.
- 'undef' or 'UNSET' - Leave yum-autoupdate unmanaged.
Default value: 'disabled'
Data type: Optional[String]
The ensure value passed to yum-cron package resource.
When undef
, the value passed to the package resources is based on this class' ensure
parameter value.
Default value: undef
Data type: String
yum-cron package name. Default is based on OS version.
Data type: String
yum-cron service name. Default is based on OS version.
Data type: Optional[String]
The ensure value passed to yum-cron service resource.
When undef
, the value passed to the service resources is based on this class' ensure
and enable
parameter values.
Default value: undef
Data type: Optional[Boolean]
The ensure value passed to yum-cron package resource.
When undef
, the value passed to the service resources is based on this class' ensure
and enable
parameter values.
Default value: undef
Data type: Boolean
Service hasstatus property.
Default value: true
Data type: Boolean
Service hasrestart property.
Default value: true
Data type: Stdlib::Absolutepath
Path to yum-cron configuration. Default is based on OS version.
Section/setting name to manage from dnf-automatic.conf
The following properties are available in the dnf_automatic_config
type.
Valid values: present
, absent
The basic property that the resource should be in.
Default value: present
The value of the setting to be defined.
The following parameters are available in the dnf_automatic_config
type.
namevar
Section/setting name to manage from dnf-automatic.conf
The specific backend to use for this dnf_automatic_config
resource. You will seldom need to specify this --- Puppet
will usually discover the appropriate provider for your platform.
Section/setting name to manage from yum-cron.conf
The following properties are available in the yum_cron_config
type.
Valid values: present
, absent
The basic property that the resource should be in.
Default value: present
The value of the setting to be defined.
The following parameters are available in the yum_cron_config
type.
namevar
Section/setting name to manage from yum-cron.conf
The specific backend to use for this yum_cron_config
resource. You will seldom need to specify this --- Puppet will
usually discover the appropriate provider for your platform.
Section/setting name to manage from yum-cron-hourly.conf
The following properties are available in the yum_cron_hourly_config
type.
Valid values: present
, absent
The basic property that the resource should be in.
Default value: present
The value of the setting to be defined.
The following parameters are available in the yum_cron_hourly_config
type.
namevar
Section/setting name to manage from yum-cron-hourly.conf
The specific backend to use for this yum_cron_hourly_config
resource. You will seldom need to specify this --- Puppet
will usually discover the appropriate provider for your platform.
yum-cron update cmd
Alias of Enum['default', 'security', 'security-severity:Critical', 'minimal', 'minimal-security', 'minimal-security-severity:Critical']