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

feature: add frozen string magic comment #60

Closed
wants to merge 1 commit into from

Conversation

b4ldr
Copy link
Contributor

@b4ldr b4ldr commented Apr 28, 2023

puppetlabs-augeas_core and puppet-augeasproviders_core both provide the augeas feature. However the both have slightly different files (this lacking the frozen strings magic comment. This causes puppet to perform a change on every puppet run.

This PR updates the feature in this repo to add the magic comment so both files match. More then happy to explore alternate fixes

puppetlabs-augeas_core and puppet-augeasproviders_core both provide the
augeas feature.  However the both have slightly different files (this
lacking the frozen strings magic comment.  This causes puppet to perform
a change on every puppet run.

This PR updates the feature in this repo to add the magic comment so
both files match.  More then happy to explore alternate fixes
@b4ldr b4ldr requested a review from a team as a code owner April 28, 2023 10:53
wmfgerrit pushed a commit to wikimedia/operations-puppet that referenced this pull request Apr 28, 2023
This is a patch to fix an on going issue.  it will be removed the next
time we upgrade augeas_core.  but hopefully an upstream fix[1] is in place
by then

[1]puppetlabs/puppetlabs-augeas_core#60

Bug: T335572
Change-Id: Icba3720beef1a317a9890c17b85106d7f041118e
@cleonn
Copy link

cleonn commented Jun 26, 2023

This is something we also observe in our environment. Would be excellent to have this fixed! :)

@mhashizume mhashizume added the enhancement New feature or request label Jun 27, 2023
@mhashizume
Copy link
Contributor

Thank you for your contribution @b4ldr ! I'm going to close then re-open this PR to rekick checks.

@mhashizume
Copy link
Contributor

I've cherry-picked your commit here to my own PR in #61 to address one of our checks that looks at commit summaries. I'm going to close this PR in favor of the other one.

Thank you again for your contribution @b4ldr !

@mhashizume mhashizume closed this Sep 14, 2023
wmfgerrit pushed a commit to wikimedia/operations-puppet that referenced this pull request Oct 3, 2023
Most changes related to guthub actions rake tasks or pdk templates see
full change list[1] for more details.  However ti dose include a very
minor fix from us[2]

[1]puppetlabs/puppetlabs-augeas_core@v1.2.0...v1.4.1
[2]puppetlabs/puppetlabs-augeas_core#60

Change-Id: I631a80b19172b51a0e4c1c7635709157fec5e02c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants