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

Stop depending on puppet certs to test java_ks #87

Merged
merged 1 commit into from Oct 8, 2014

Conversation

cmurphy
Copy link
Contributor

@cmurphy cmurphy commented Oct 8, 2014

Previously we removed the call to puppet master during acceptance
testing setup because it caused conflicts in agent-master multinode
setups. However, we realized that the reason for the call to puppet master in the first place was so that java_ks could use the existing
puppet certs that exist on the puppet master. This patch refactors the
tests to generate a CA and private key itself. This avoids having tests
depend on a certain node configuration.

The alternative is to put the call to puppet master back and
conditionally detect whether the master is already daemonized.
However I think separating the puppet setup from the testing '
environment is a better solution.

It also adds /usr/bin to the PATH on solaris so that the java_ks type
can use the openssl command in tests on solaris.

Previously we removed the call to `puppet master` during acceptance
testing setup because it caused conflicts in agent-master multinode
setups. However, we realized that the reason for the call to `puppet
master` in the first place was so that java_ks could use the existing
puppet certs that exist on the puppet master. This patch refactors the
tests to generate a CA and private key itself. This avoids having tests
depend on a certain node configuration.

It also adds /usr/bin to the PATH on solaris so that the java_ks type
can use the openssl command in tests on solaris.
hunner added a commit that referenced this pull request Oct 8, 2014
Stop depending on puppet certs to test java_ks
@hunner hunner merged commit 5bb2e7a into puppetlabs:master Oct 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants