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.
2 parents 13053b1 + bee4496 commit 2a53f9cCopy full SHA for 2a53f9c
manifests/service.pp
@@ -7,7 +7,7 @@
7
assert_private()
8
9
# Starting with puppet6 collections we no longer carry the mcollective service
10
- if $::puppet_agent::collection != 'PC1' and $::puppet_agent::collection != 'puppet5' {
+ if versioncmp("${::clientversion}", '6.0.0') >= 0 {
11
$_service_names = delete($::puppet_agent::service_names, 'mcollective')
12
} else {
13
$_service_names = $::puppet_agent::service_names
0 commit comments