Affected Puppet, Ruby, OS and module versions/distributions
- Puppet:
6.4.2
- Ruby:
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
- Distribution:
CentOS Linux release 7.6.1810 (Core)
- Module version:
master
How to reproduce (e.g Puppet code you use)
What are you seeing
$ grep -A5 python: data/app/pup.yaml
python::python_pips:
pip: { ensure: 'latest' }
pre-commit: { ensure: 'latest' }
setuptools: { ensure: 'latest' }
wheel: { ensure: 'latest' }
$ /opt/puppetlabs/bin/puppet agent -t
Info: Using configured environment 'dev'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Error: Facter: error while resolving custom fact "pip_version": undefined method `[]' for nil:NilClass
Info: Caching catalog for cusppupent01.internal.cnngad.com
Info: Applying configuration version '1558463440'
Notice: System Reboot Required Because:
audit => modified
Notice: Applied catalog in 25.40 seconds
$ which pre-commit
/usr/bin/which: no pre-commit in (/usr/local/openssl/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin:/opt/puppetlabs/puppet/bin)
What behaviour did you expect instead
Successful installation of pip, setuptools, wheel, and pre-commit
Output log
See above.
Any additional information you'd like to impart
Possibly related: pre-commit/pre-commit#1039
Affected Puppet, Ruby, OS and module versions/distributions
6.4.2ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]CentOS Linux release 7.6.1810 (Core)masterHow to reproduce (e.g Puppet code you use)
What are you seeing
What behaviour did you expect instead
Successful installation of
pip,setuptools,wheel, andpre-commitOutput log
See above.
Any additional information you'd like to impart
Possibly related: pre-commit/pre-commit#1039