Skip to content

Commit

Permalink
Ensure value is a string for =~ comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
ghoneycutt authored Nov 10, 2016
1 parent 2bf8a5c commit 15dd2bc
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 == 'Gentoo' {
Expand Down

0 comments on commit 15dd2bc

Please sign in to comment.