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

Correctly populate principal during prefetch #33

Merged
merged 1 commit into from
Jan 31, 2021

Conversation

dciabrin
Copy link

When retrieve information out of "get-cert list", we currently
miss the "principal name" information. Consequently, a prefetched
certificate resource always differ from its original definition
when it is created with a :principal property.

Parse the principal information during prefetch to retrieve the
entire state of certificate and prevent puppet from flushing the
resource and triggering unecessary resubmit actions.

When retrieve information out of "get-cert list", we currently
miss the "principal name" information. Consequently, a prefetched
certificate resource always differ from its original definition
when it is created with a :principal property.

Parse the principal information during prefetch to retrieve the
entire state of certificate and prevent puppet from flushing the
resource and triggering unecessary resubmit actions.
Copy link
Collaborator

@JAORMX JAORMX left a comment

Choose a reason for hiding this comment

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

LGTM

@vakwetu
Copy link

vakwetu commented Jan 19, 2021

LGTM

@JAORMX
Copy link
Collaborator

JAORMX commented Jan 21, 2021

@locknut could you check this out?

@locknut locknut merged commit 1d152d7 into saltedsignal:master Jan 31, 2021
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.

4 participants