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

(PUP-11753) remove NonMatchToken from parsed eyaml tokens #9011

Closed
wants to merge 1 commit into from

Conversation

hdevalke
Copy link

@hdevalke hdevalke commented Feb 6, 2023

@hdevalke hdevalke requested a review from a team as a code owner February 6, 2023 20:20
@puppetlabs-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

@CLAassistant
Copy link

CLAassistant commented Feb 6, 2023

CLA assistant check
All committers have signed the CLA.

@joshcooper
Copy link
Contributor

@hdevalke thanks for your contribution.

It looks like this issue has been raised in voxpupuli/hiera-eyaml#270, specifically this comment voxpupuli/hiera-eyaml#270 (comment)

The workaround mentioned there is to use YAML block format:

my_sensitive_ssh_private_key_data: >
  ENC[PKCS7,....]

Puppet's chomp behavior has been there since the function was introduced in 7fd3273

Unfortunately, we can't accept this change as-is, because someone is surely relying on the chomp behavior. I think it'd be good to discuss this with voxpupuli to see how this can be fixed in hiera-eyaml and the puppet chomp call removed.

@joshcooper joshcooper added blocked PRs blocked on work external to the PR itself bug Something isn't working labels Nov 15, 2023
@hdevalke hdevalke closed this Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked PRs blocked on work external to the PR itself bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants