Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

puppi 2.2.9 breaks catalogues with `instance?' for String:Class error #155

Open
ElvenSpellmaker opened this issue Apr 5, 2019 · 2 comments

Comments

@ElvenSpellmaker
Copy link

ElvenSpellmaker commented Apr 5, 2019

Expected Behavior

Catalogues to compile

Actual Behavior

Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, undefined method `instance?' for String:Class at /etc/puppetlabs/code/modules/yum/manifests/init.pp:167:27 at /etc/puppetlabs/code/modules/yum/manifests/repo/epel.pp:64 on node foo.com

Steps to Reproduce the Problem

  1. Use an example42 module without pinning puppi in your main Puppetfile to get the latest 2.2.9 version of puppi.

Specifications

Please add this info:

  1. Output of facter -p on the failing node (at least the OS related facts): N/A (all CentOS nodes we have fail)
  2. Version of Puppet and of the module
  • Puppet: 4.10.0
  • puppi: 2.2.9
  1. The relevant Puppet code and eventually Hiera data: example42/yum in init.pp, when calling params_lookup.

This is what changed when I pinned back to 2.2.6:
image

@hawkeye-7
Copy link

I have the same problem.

@alvagante
Copy link
Member

2.2.7 introduces the change, it would be very useful the log of the puppetserver when failing to compile.

alvagante added a commit that referenced this issue Apr 10, 2019
@alvagante
Copy link
Member

I was able to reproduce, for the moment I reverted that change, introduced to remove some warnings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants