Skip to content

Commit 2a53f9c

Browse files
authored
Merge pull request #485 from LinkMJB/master
(MODULES-10636) Fixed mcollective being included as a default service to manage, in clientversion >= 6.0.0
2 parents 13053b1 + bee4496 commit 2a53f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/service.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
assert_private()
88

99
# Starting with puppet6 collections we no longer carry the mcollective service
10-
if $::puppet_agent::collection != 'PC1' and $::puppet_agent::collection != 'puppet5' {
10+
if versioncmp("${::clientversion}", '6.0.0') >= 0 {
1111
$_service_names = delete($::puppet_agent::service_names, 'mcollective')
1212
} else {
1313
$_service_names = $::puppet_agent::service_names

0 commit comments

Comments
 (0)