We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ea4f65 commit 112748dCopy full SHA for 112748d
manifests/params.pp
@@ -282,7 +282,7 @@
282
$server_version = undef
283
284
if $aio_package or
285
- ($facts['os']['name'] == 'Debian' and Integer($facts['os']['release']['major']) >= 12) {
+ ($facts['os']['name'] == 'Debian' and versioncmp($facts['os']['release']['major'], '12') >= 0 {
286
$client_package = ['puppet-agent']
287
} elsif ($facts['os']['family'] =~ /(FreeBSD|DragonFly)/) {
288
$client_package = ["puppet${puppet_major}"]
0 commit comments