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

Perl Install issue #11

Open
sl0m0ZA opened this issue Sep 13, 2018 · 3 comments · May be fixed by #16
Open

Perl Install issue #11

sl0m0ZA opened this issue Sep 13, 2018 · 3 comments · May be fixed by #16

Comments

@sl0m0ZA
Copy link

sl0m0ZA commented Sep 13, 2018

install.pp causes error if perl is already installed

@ju5t
Copy link
Contributor

ju5t commented Sep 13, 2018

That shouldn't be possible. Can you post the error message and operating system you're using?

@yakatz
Copy link

yakatz commented Oct 30, 2020

I don't know what error @sl0m0ZA but I might be having the same problem:

OS: Ubuntu 20.04

sudo /opt/puppetlabs/bin/puppet agent -t
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
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, Cannot alias Package[csf-perl] to [nil, "perl", nil] at (file: /etc/puppetlabs/code/environments/production/modules/csf/manifests/install.pp, line: 16); resource ["Package", nil, "perl", nil] already declared (file: /etc/puppetlabs/code/environments/production/modules/cpanm/manifests/init.pp, line: 44) (file: /etc/puppetlabs/code/environments/production/modules/csf/manifests/install.pp, line: 16, column: 3) on node ph08.iad1.10815.net
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

@ju5t
Copy link
Contributor

ju5t commented Oct 30, 2020

We should probably swap this with ensure_packages. It should be an easy fix but I'm a little short on time recently. If you can manage to make a PR that passes all test I would be happy to merge it though!

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

Successfully merging a pull request may close this issue.

3 participants