Open
Description
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 6.17.0
- Ruby: 2.5.5
- Distribution: centos
- Module version:4.1.1
How to reproduce (e.g Puppet code you use)
Use example code to test virtualenv pip install
What are you seeing
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: ... python/manifests/pyvenv.pp, line: 49, column: 12) (file: ... python/manifests/init.pp, line: 95) on node host.domain
What behaviour did you expect instead
For the example to work.
Output log
Any additional information you'd like to impart
python/manifests/pyvenv.pp, line: 49
case $facts['os']['distro']['codename'] {
python/manifests/init.pp, line: 95
create_resources('python::pyvenv', $python_pyvenvs)
From the host facter os
returns results whereas distro
and codename
do not.
Metadata
Metadata
Assignees
Labels
No labels