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

Compability issues with puppetlabs/apt puppet module #33

Open
murhum1 opened this issue May 17, 2018 · 2 comments
Open

Compability issues with puppetlabs/apt puppet module #33

murhum1 opened this issue May 17, 2018 · 2 comments

Comments

@murhum1
Copy link

murhum1 commented May 17, 2018

I'm trying to install puppetexplorer through the puppet module, but I'm getting the following error:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[puppetexplorer]: has no parameter named 'include_src' (file: /etc/puppetlabs/code/environments/production/modules/puppetexplorer/manifests/init.pp, line: 168)

This issue stems from puppetlabs/apt module 2.0.0 update all the way from 2015 and the removal of include_src parameter. The manifest should be updated to reflect this change - I doubt many are using older versions of the apt module anymore.

@jjuarez
Copy link

jjuarez commented Nov 4, 2018

I faced the same issue, but fortunately you can address this situation for now using a specific commit in your Puppetfile as a dirty workaround, doing something like that:

#mod 'spotify-puppetexplorer', '1.1.1'
mod 'spotify-puppetexplorer',
  :git    =>'https://github.com/dalen/puppet-puppetexplorer.git',
  :commit => '02c09de'

this commit is "younger" than the tag 1.1.1, which is the official version of the module published on the puppet forge, and solves the compatibility problem with the new versions of the puppetlabs-apt module, I tested this with the 6.1.1 and the 5.0.1 version of the apt module and it works pretty well

@cabrinha
Copy link

Please release a new version on the forge.

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