3
0
This commit is contained in:
Arne Teuke
2025-10-21 21:48:08 +02:00
parent f10276e962
commit 63e87af95b
2 changed files with 10 additions and 1 deletions

View File

@@ -17,6 +17,7 @@
"pydantic", "pydantic",
"pylint", "pylint",
"pytest", "pytest",
"repolist",
"requestlogging", "requestlogging",
"springframework", "springframework",
"startswith", "startswith",

View File

@@ -11,13 +11,21 @@ class puppet_cd::r10k::install (
# install required packages # install required packages
package { $pt_r10k_pkg: package { $pt_r10k_pkg:
ensure => $pt_pkg_ensure, ensure => $pt_pkg_ensure,
before => Package['r10k'], before => Exec['enable_crb'],
}
# enable CRB and install development_tools
exec { 'enable_crb':
command => 'dnf config-manager --set-enabled crb',
unless => 'dnf repolist --disabled | grep -qE "crb|CodeReady"',
path => ['/usr/bin', '/bin', '/usr/sbin', '/sbin'],
} }
# install r10k via gem # install r10k via gem
package { 'r10k': package { 'r10k':
ensure => $pt_pkg_ensure, ensure => $pt_pkg_ensure,
provider => gem, provider => gem,
require Exec['enable_crb'],
} }
# configure r10k.yaml # configure r10k.yaml