-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
ordering-api-with-pki-after-package #311
Comments
I don't know why but the ordering of your puppet run is wrong. The packages['icinga2'] resource has to be apply before creating the cert request with the command icinga2. What kind of os or distribution you used? |
We use centOs 6/7, and puppet 3 ( latest version available) and I should note I've tried to force ordering (since I saw the same issue in the output up top) but that just causes a dependency loop :( |
Ok strange. I have to tested with puppet 3 again. |
It's an ordering problem with puppet 3. I hope I can fix it in the evening (UTC+2) today. |
Great! Thanks for checking it out :) look forward to it |
merge to master. |
Expected Behavior
I can configure a module that installs the icinga2 client, configures the zones and generates the PKI key / gets it signed.
Current Behavior
I need to run the puppet module twice due to the pki generation trying before the icinga2 binary exists.
See here:
On the second run, this works perfectly fine. i've tried ordering with require, or -> and it errors out. here is my manifest:
Thanks!! :)
The text was updated successfully, but these errors were encountered: