We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ac7323 commit 7cd9f6dCopy full SHA for 7cd9f6d
manifests/install.pp
@@ -6,10 +6,11 @@
6
#
7
class python::install {
8
9
- $python = $::python::version ? {
+ $python_version = getparam(Class['python'], 'version')
10
+ $python = $python_version ? {
11
'system' => 'python',
12
'pypy' => 'pypy',
- default => "${python::version}", # lint:ignore:only_variable_string
13
+ default => "${python_version}", # lint:ignore:only_variable_string
14
}
15
16
$pythondev = $facts['os']['family'] ? {
@@ -180,7 +181,7 @@
180
181
default: {
182
case $facts['os']['family'] {
183
'AIX': {
- if "${python::version}" =~ /^python3/ { #lint:ignore:only_variable_string
184
+ if "${python_version}" =~ /^python3/ { #lint:ignore:only_variable_string
185
class { 'python::pip::bootstap':
186
version => 'pip3',
187
0 commit comments