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

(BKR-1598) Set server hostname #116

Merged
merged 2 commits into from
Jun 17, 2019

Conversation

joshcooper
Copy link
Contributor

To ensure individual tests don't need to set --server <hostname> set
it in the presuite for all types (git, aio, etc). Note Host#hostname is
the same as Host#to_s, but I chose the former for its explicitness.

To ensure individual tests don't need to set `--server <hostname>` set
it in the presuite for all types (git, aio, etc). Note Host#hostname is
the same as Host#to_s, but I chose the former for its explicitness.
Enable autosigning for this step only, so that `puppet agent -t` will
submit the CSR and retrieve the signed cert automatically.

The master host should already have a client cert, so running `puppet agent -t`
should be a noop.
@Magisus
Copy link
Contributor

Magisus commented Jun 14, 2019

This is really similar to what we do in the server presuite now 👍

Copy link
Contributor

@kevpl kevpl left a comment

Choose a reason for hiding this comment

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

lgtm 👍

@kevpl kevpl merged commit 99a7740 into puppetlabs:master Jun 17, 2019
@joshcooper joshcooper deleted the set_server_hostname branch June 17, 2019 17:18
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.

3 participants