Skip to content

Commit

Permalink
Namespace calls to ensure_packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ananace committed Mar 4, 2025
1 parent 7b0155a commit 5ee7e97
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifests/install/cni_plugins.pp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
require => Package[$_package_name],
}
}
ensure_packages([$_package_name,])
stdlib::ensure_packages([$_package_name,])

if $k8s::manage_repo {
Class['k8s::repo'] -> Package[$_package_name]
Expand Down
2 changes: 1 addition & 1 deletion manifests/node.pp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
'Debian' => 'conntrack',
default => 'conntrack-tools',
}
ensure_packages([$_conntrack,])
stdlib::ensure_packages([$_conntrack,])
}

if $manage_crictl {
Expand Down
2 changes: 1 addition & 1 deletion manifests/node/kubelet.pp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
case $auth {
'bootstrap': {
$_ca_cert = pick($ca_cert, '/var/lib/kubelet/pki/ca.pem')
ensure_packages(['jq'])
stdlib::ensure_packages(['jq'])
if !defined(K8s::Binary['kubectl']) {
k8s::binary { 'kubectl':
ensure => $ensure,
Expand Down
2 changes: 1 addition & 1 deletion manifests/server/tls.pp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}

if $ensure == 'present' {
ensure_packages(['openssl'])
stdlib::ensure_packages(['openssl'])
# Additional non-CA certs that should also only be generated on one node
if $generate_ca {
Package <| title == 'openssl' |>
Expand Down

0 comments on commit 5ee7e97

Please sign in to comment.