feat: migrate puppet-agent to openvox
- change from puppet-agent to openvox-agent - upgrade version from 7.34 to 7.36 - ensure workflow of: Yumrepo -> dnf-makecache -> Package
This commit is contained in:
@@ -47,7 +47,7 @@ class profiles::yum::global (
|
||||
|
||||
# makecache if changes made to repos
|
||||
exec {'dnf_makecache':
|
||||
command => 'dnf makecache -q',
|
||||
command => 'dnf clean all && dnf makecache',
|
||||
path => ['/usr/bin', '/bin'],
|
||||
refreshonly => true,
|
||||
}
|
||||
@@ -55,4 +55,7 @@ class profiles::yum::global (
|
||||
# setup dnf-autoupdate
|
||||
include profiles::yum::autoupdater
|
||||
|
||||
# ensure dnf makecache runs before packages
|
||||
Yumrepo <| |> -> Exec['dnf_makecache'] -> Package <| |>
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user