Module failing on nevest puppet agent run

Open
#341 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
devops

Research direction

Start at modules/python/manifests/install.pp:213:10 and reproduce the reported Puppet agent run on the host with Python 2.7.5 and no Python 3 fact. Trace which value reaches the failing match expression; done means the catalog retrieves successfully without the reported evaluation error.

Written by the indexing model from the issue text.

Description

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Left match operand must result in a String value. Got an Undef Value. at modules/python/manifests/install.pp:213:10 on test.tester.com

Debug: Facter: executing command: /bin/sh -c /bin/python -V 2>&1
Debug: Facter: Python 2.7.5
Debug: Facter: process exited with status code 0.
Debug: Facter: fact "python2_version" has resolved to "2.7.5".
Debug: Facter: fact "python3_version" resolved to null and will not be added.
Debug: Facter: executing command: /bin/sh -c /bin/python -V 2>&1
Debug: Facter: Python 2.7.5
Debug: Facter: process exited with status code 0.
Debug: Facter: fact "python_version" has resolved to "2.7.5".

Dominant language
Ruby
Stars
196
Forks
372
Avg merge
1d 18m
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from voxpupuli/puppet-python

All issues in voxpupuli/puppet-python

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.