chore: set yum/dnf metadata expiry
- set expiry to 1 day so that dnf frequently checks for updates from packagerepo
This commit is contained in:
parent
771b981d91
commit
f28e74e575
@ -32,13 +32,14 @@ class profiles::defaults {
|
||||
}
|
||||
|
||||
Yumrepo {
|
||||
ensure => 'present',
|
||||
enabled => 1,
|
||||
gpgcheck => 1,
|
||||
require => [
|
||||
ensure => 'present',
|
||||
enabled => 1,
|
||||
gpgcheck => 1,
|
||||
metadata_expire => '1d',
|
||||
require => [
|
||||
Class['profiles::pki::vaultca'],
|
||||
Class['crypto_policies'],
|
||||
],
|
||||
notify => Exec['dnf_makecache'],
|
||||
notify => Exec['dnf_makecache'],
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user