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

Fix custom key ordering #173

Merged
merged 1 commit into from
Oct 22, 2020
Merged

Fix custom key ordering #173

merged 1 commit into from
Oct 22, 2020

Conversation

coreone
Copy link
Contributor

@coreone coreone commented Sep 3, 2020

When defining a custom key, the configuration validation would fail on the first run as the configuration would be updated and the validation would run before the key was created. The error would go away on the second run as the file would then exist before the configuration was updated (from the previous run). The updated ordering in dns::key makes this now work on the first run without an error.

As a note, the group creation needed to be moved out of dns::config to prevent a dependency cycle.

manifests/init.pp Outdated Show resolved Hide resolved
@coreone coreone force-pushed the keyorder branch 2 times, most recently from 1c5add7 to a6d7405 Compare September 3, 2020 17:24
manifests/install.pp Outdated Show resolved Hide resolved
Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

At first glance this looks good. Let's see what the tests show.

@coreone
Copy link
Contributor Author

coreone commented Oct 21, 2020

@ekohl is there anything else needed here?

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

Thanks for the ping and contribution. I notice I often forget to check back on a PR when I need to wait for CI. Merging.

@ekohl ekohl merged commit d27d71f into theforeman:master Oct 22, 2020
@ekohl ekohl added the Bug label Oct 22, 2020
@coreone coreone deleted the keyorder branch October 22, 2020 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants