-
Notifications
You must be signed in to change notification settings - Fork 23
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
Get puppet::server from hiera #43
Comments
I'm not following why you can't add this parameter in hiera (that's how I do it). The default is false, so you only need to specify |
I'm having a someone similar issue, but with trying to manage the Puppet Agent instead of the server, however my problem looks very similar to the one @claflico is having. My test system has a role assigned via hiera, and that role loads a class
The actual per-system configuration is handled via hiera by the servers If I go to the machines
Nothing ever shows up on a new run of the Puppet agent, or even when I run it manually and specify my testing environment:
Any chance this is related, or should I open up a new issue? |
@Wicaeed: You should be setting parameters in the main class, not the subclass.
|
I use the role/profile method and add the following to my base profile manifest so that puppet gets managed on all nodes:
class { 'puppet': }
I try to keep my manifests as generic as possible so I put as much as I can in hiera. It would be preferred to be able to read in "puppet::server: true" from my roles/puppetmaster.yaml file rather than having to either leave my base profile manifest out of my puppetmaster role manifest...or come up with an if/else of some sort so that I'm not declaring it twice.
The text was updated successfully, but these errors were encountered: