Skip to content

Commit 9580f0f

Browse files
committed
Puppet 4 introduces strong type checking so after this change it should work on puppet 4 and puppet 3
1 parent 8386374 commit 9580f0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/params.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@
385385

386386
case $::operatingsystem {
387387
'Ubuntu': {
388-
if versioncmp($::operatingsystemmajrelease, '14.10') > 0 {
388+
if versioncmp("${::operatingsystemmajrelease}", '14.10') > 0 {
389389
$server_service_provider = 'systemd'
390390
} else {
391391
$server_service_provider = 'upstart'

0 commit comments

Comments
 (0)