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

fixes #2693 - don't cause handle_ca error when no Puppet CA associated with host #806

Closed
wants to merge 1 commit into from

Conversation

domcleal
Copy link
Contributor

No description provided.

@GregSutcliffe
Copy link
Member

Untested, but looks sane to me. Over to you Jenkins ;)

respond_to?(:initialize_puppetca,true) && initialize_puppetca && delCertificate && setAutosign
end
return true unless puppetca?
respond_to?(:initialize_puppetca,true) && initialize_puppetca && delCertificate && setAutosign
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what am I missing? that it returned false before?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it returned nil before, which caused the controller to think it'd failed. You wrote this patch :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in that case 👍

@domcleal
Copy link
Contributor Author

@ohadlevy ignore the test failures, they're due to lack of disk space on slaves.

I updated the commit only to remove some trailing whitespace from the patch.

@domcleal
Copy link
Contributor Author

ping @ohadlevy

@ohadlevy
Copy link
Member

merged as f09d61d - thanks!

@ohadlevy ohadlevy closed this Jul 25, 2013
cfouant pushed a commit to cfouant/foreman that referenced this pull request Dec 18, 2018
instead of having separate playbooks for each version of the pipeline,
have one playbook and load version specific data from vars_files.

also adds vars_files statements where no version specific data is
present today, to allow overriding in future. see [1] for details.

[1] https://docs.ansible.com/ansible/2.7/user_guide/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable

Fixes: GH-theforeman#806
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants