Skip to content

Commit

Permalink
Merge pull request #342 from stankevich/ghoneycutt-patch-1
Browse files Browse the repository at this point in the history
Ensure value is a string for =~ comparison
  • Loading branch information
ghoneycutt authored Dec 14, 2016
2 parents a7ed33c + 15dd2bc commit 0a03cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
}
}

if $::python::version =~ /^3/ {
if "${::python::version}" =~ /^3/ { #lint:ignore:only_variable_string
$pip_category = undef
$pip_package = 'python3-pip'
} elsif ($::osfamily == 'RedHat') and (versioncmp($::operatingsystemmajrelease, '7') >= 0) {
Expand Down

0 comments on commit 0a03cf2

Please sign in to comment.