Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Duplicate declaration apt #11

Closed
pendolf opened this issue Sep 4, 2014 · 4 comments
Closed

Duplicate declaration apt #11

pendolf opened this issue Sep 4, 2014 · 4 comments

Comments

@pendolf
Copy link

pendolf commented Sep 4, 2014

Install sensu module and uchiwa for puppet.
Configure manifest and after start puppet agent got this error:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration: Apt::Source[sensu] is already declared in file /etc/puppet/environments/taxi/modules/uchiwa/manifests/repo/apt.pp:38; cannot redeclare at /etc/puppet/environments/taxi/modules/sensu/manifests/repo/apt.pp:35 on node sensu-server.mydomain.com

Can u help?

@pauloconnor
Copy link
Contributor

Use

class { 'uchiwa': manage_repo => false }

@pendolf
Copy link
Author

pendolf commented Sep 4, 2014

After declare "manage_repo => false" at my custom module:

Invalid parameter manage_repo on Class[Uchiwa] at /etc/puppet/environments/taxi/modules/sensu_conf/manifests/server.pp:9 on node sensu-server.mydomain.com

@pauloconnor
Copy link
Contributor

My apologies. It should be install_repo => false.

@pendolf
Copy link
Author

pendolf commented Sep 4, 2014

Thanks for the help.

@pendolf pendolf closed this as completed Sep 4, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants