-
Notifications
You must be signed in to change notification settings - Fork 44
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 Resource declaration with puppet and puppet::master #78
Comments
Which version of this module are you using? |
I'd tried with 2.2.0 but also with latest HEAD |
Are you sure you don't have any other classes, profiles and/or roles that have a class named puppet? What other classes are you including on your puppet01 node? What does this file look like? |
yes, code grep looks like:
There are a few classes which are definded in the base role, but nothing but the puppetagent cron is relevant (see above grep)...
|
I am not really sure whats going on there. I would try taking out all the classes from the node and add them back in one at a time and see what happens. |
Very strange, i made the following change as you recommend and its compiles seamless...
|
I was just trying the module and had the same error when trying to apply the puppet class on all my nodes and then the puppet::master to only the one I have defined with role puppetmaster. |
Forget my last message, still having issue with it. I get errors that the master is duplicated on the config and always get Puppet v3 installed. I'm running the following on all nodes:
Then just on the puppetmaster role manifest:
What am I doing wrong? |
Found some more info regarding this issue. On my puppet config I have a When I put the agent class on my common.pp
puppetmaster.pp
If I put the puppetmaster.pp
|
Hi,
from me pespective it seems to be a very strange phenomenon, i'd search for another declare of Class[Puppet] but didnt find it. also the error message is strange:
???
environment is:
Centos7:
puppet code is the profile for normal agents and the profile from puppetmaster, running on puppetmaster:
agent:
master:
Any ideas??
Thanks...
Lasse
The text was updated successfully, but these errors were encountered: