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

Duplicate declaration: Packages adcli and sssd are already declared. #49

Closed
utking opened this issue May 23, 2018 · 1 comment
Closed

Comments

@utking
Copy link

utking commented May 23, 2018

Hello,
Suddenly, I got 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, Evaluation Error: Error while evaluating a Function Call, Duplicate declaration: Package[adcli] is already declared in file /etc/puppetlabs/code/environments/production/modules/realmd/manifests/install.pp:11; cannot redeclare at /etc/puppetlabs/code/environments/production/modules/realmd/manifests/install.pp:23 at /etc/puppetlabs/code/environments/production/modules/realmd/manifests/install.pp:23:3 at /etc/puppetlabs/code/environments/production/modules/realmd/manifests/init.pp:60 on node test-host.domain.loc

It seems to be because of the install.pp manifest ensuring separate packages (including sssd and adcli) and then trying to ensure part of them (sssd and adcli) again using ensure_packages for several packages from the yaml files.

@walkamongus
Copy link
Owner

#51 should resolve this

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

2 participants