Skip to content

Commit

Permalink
client package is puppet-agent on debian 12+
Browse files Browse the repository at this point in the history
  • Loading branch information
jcharaoui committed Mar 23, 2023
1 parent 876e521 commit 0556430
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@
$server_ssl_dir = $ssldir
$server_version = undef

if $aio_package {
if $aio_package or
($facts['os']['name'] == 'Debian' and Integer($facts['os']['release']) >= 12) {
$client_package = ['puppet-agent']
} elsif ($facts['os']['family'] =~ /(FreeBSD|DragonFly)/) {
$client_package = ["puppet${puppet_major}"]
Expand Down

0 comments on commit 0556430

Please sign in to comment.