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

Remove serialized class from transactionstore #43

Merged
merged 1 commit into from
Jan 15, 2019

Conversation

binford2k
Copy link
Contributor

Puppet tries to persist data between runs for use in calculating
intentional change vs. unintentional drift. Unfortunately, it's just
yaml serialized to disk, meaning both that it's an invalid class when
Puppet tries to reload it for the next run, and it means that the plain
text form of the secret was written to cache. Bad Puppet!

This corrects both of those issues, with the slight side effect that
node_encrypt files probably won't ever show up as intentional change if
the content is modified after the first write. That's not a huge deal,
but I'm tracking it in #42 for eventual correction.

Fixes #34
Co-authored-by: Aleksei lexa@ihpu.org

Puppet tries to persist data between runs for use in calculating
intentional change vs. unintentional drift. Unfortunately, it's just
yaml serialized to disk, meaning both that it's an invalid class when
Puppet tries to reload it for the next run, and it means that the plain
text form of the secret was written to cache. Bad Puppet!

This corrects both of those issues, with the slight side effect that
node_encrypt files probably won't ever show up as intentional change if
the content is modified after the first write. That's not a huge deal,
but I'm tracking it in #42 for eventual correction.

Fixes #34
Co-authored-by: Aleksei <lexa@ihpu.org>
@binford2k binford2k merged commit de05512 into master Jan 15, 2019
@binford2k binford2k deleted the fix_transactionstore branch April 29, 2020 04:41
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.

2 participants