diff --git a/manifests/init.pp b/manifests/init.pp index 786eb5c..ebfb55f 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -6,7 +6,7 @@ class pip ( $optional_settings = {}, $trusted_hosts = [], ) { - include ::pip::params + include pip::params validate_array($trusted_hosts) package { $::pip::params::python_devel_package: diff --git a/manifests/params.pp b/manifests/params.pp index 66df637..eea8049 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -3,7 +3,7 @@ # This class holds parameters that need to be # accessed by other classes. class pip::params { - $get_pip_location = 'https://bootstrap.pypa.io/get-pip.py' + $get_pip_location = 'https://bootstrap.pypa.io/3.5/get-pip.py' case $::osfamily { 'RedHat': { diff --git a/manifests/python3.pp b/manifests/python3.pp index 284e537..38a2412 100644 --- a/manifests/python3.pp +++ b/manifests/python3.pp @@ -1,7 +1,7 @@ # Class: pip # class pip::python3 { - include ::pip::params + include pip::params package { $::pip::params::python3_devel_package: ensure => present,