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

peadm::install: Depend code-manager setup on r10k remote presence, not r10k ssh key #401

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

bastelfreak
Copy link
Collaborator

We've logic in place that checks if the user provided an r10k remote key and then automatically enable code-manager. This doesn't make sense because the key is optional. We need to depend on a r10k URL. The URL can be an absolute path to a local repo or an https url, both don't require a remote key.

Fixes a bug I introcued in https://github.com/puppetlabs/puppetlabs-peadm/pull/352/files#r1373941616

…t r10k ssh key

We've logic in place that checks if the user provided an r10k remote key
and then automatically enable code-manager. This doesn't make sense
because the key is optional. We need to depend on a r10k URL. The URL
can be an absolute path to a local repo or an https url, both don't
require a remote key.

Fixes a bug I introcued in https://github.com/puppetlabs/puppetlabs-peadm/pull/352/files#r1373941616
@Magisus
Copy link

Magisus commented Oct 27, 2023

Thanks for the quick response to this! I noticed it because the CD4PE team is using peadm to set up test environments, and in our case, we use an HTTPS URL and were expecting Code Manager to be automatically enabled because that used to be the default. I think having the auto-enable be smarter is good, and with this fix, it will still work as it did previously for us. Just a data point of one way this module is being used (and therefore tested internally!) 😁

@ragingra ragingra merged commit c673e58 into puppetlabs:main Oct 30, 2023
49 of 51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants