Skip to content

Fix fqdn_rotate determinism #1396

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

Closed
wants to merge 2 commits into from
Closed

Fix fqdn_rotate determinism #1396

wants to merge 2 commits into from

Conversation

DLDur
Copy link

@DLDur DLDur commented Sep 15, 2023

This was changed in e2d8b18 and ever since fqdn_rotate has changed result on every successive run.

Summary

Seed fqdn_rotate with the appropriate fact to restore consistency in its output.

Additional Context

Issue was identifed after upgrading to stdlib 9.0.0 - files with contents depending on result of fqdn_rotate were refreshing every run.

Related Issues (if any)

May need to review original reason for the original change in e2d8b18

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • [x ] Manually verified. (For example puppet apply)

This was changed in e2d8b18 and ever since fqqdn_rotate has changed result on every succesive run.
@CLAassistant
Copy link

CLAassistant commented Sep 15, 2023

CLA assistant check
All committers have signed the CLA.

@ekohl ekohl linked an issue Sep 15, 2023 that may be closed by this pull request
Copy link
Collaborator

@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.

I'd prefer #1341 to be finished, but I'd accept a PR that only updates to the modern fqdn fact.

@alexjfisher
Copy link
Collaborator

I'd prefer #1341 to be finished, but I'd accept a PR that only updates to the modern fqdn fact.

let me see if I can fit this in.

@alexjfisher
Copy link
Collaborator

Fixed in #1341

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.

fqdn_rotate function output often changes since v9
5 participants