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

(bug) - Honour custom insync in noop mode #9443

Merged

Conversation

jordanbreen28
Copy link
Contributor

Prior to this PR, a custom insync message was not honoured when applying a manifest in noop mode. This was later tracked down to the offending noop method found in the resource harness class, which did not call the change_to_s method to retrieve the custom insync message.

I've updated the method to match that of the sync method below, ensuring that the functionality of the custom isync provider feature is not any different whether running puppet in noop or no-noop mode.

Can see the two methods here

Additional Context
Have opted out of adding a space between (noop) and audit_message to match the three other implementations of this in the sync and noop methods.

Prior to this commit, a custom insync message was not honoured when
applying a manifest in noop mode. This was later tracked down the the
`noop` method found in the resource harness class.

I've updated the method to match that of the `sync` method below,
ensuring that the functionality of the custom isync provider feature is
not any different whether running puppet in noop or no-noop mode.
@jordanbreen28 jordanbreen28 added the bug Something isn't working label Aug 6, 2024
@jordanbreen28 jordanbreen28 requested a review from a team as a code owner August 6, 2024 08:08
@joshcooper
Copy link
Contributor

jenkins please test this

@joshcooper joshcooper merged commit 5c078c8 into puppetlabs:main Aug 6, 2024
24 checks passed
@joshcooper
Copy link
Contributor

Thanks for your patience @jordanbreen28! This will be release in the next 8.9.0 release.

@jordanbreen28 jordanbreen28 deleted the bug-honour_custom_insync_in_noop branch August 7, 2024 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants