From 15dd2bcb309b27da58376b95fc3555fca359833d Mon Sep 17 00:00:00 2001 From: Garrett Honeycutt Date: Thu, 10 Nov 2016 09:30:02 -0800 Subject: [PATCH] Ensure value is a string for =~ comparison --- manifests/install.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/install.pp b/manifests/install.pp index 6d3cb7e3..f77889f5 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -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' {