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

fix: escape slash in resource name #101

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

moritz-makandra
Copy link

Pull Request (PR) description

Allow slashes in the sysctl keys.

This is possible by escaping slashes: hercules-team/augeas#668: Augeas fails to parse properties-files with "/" in property names

This Pull Request (PR) fixes the following issues

Fixes #17
Fixes #66
Fixes voxpupuli/puppet-augeasproviders#102: sysctl doesn't work for keys that contain slash, e.g. VLANs

@moritz-makandra moritz-makandra force-pushed the master branch 4 times, most recently from 964567a to 4715107 Compare March 4, 2025 08:37
@moritz-makandra moritz-makandra marked this pull request as draft March 4, 2025 09:00
@moritz-makandra
Copy link
Author

The test are failing, because the changes aren't included in the libraries shipped with the distributions

The augeas library needs to be version 1.14.1 which is shipped with Ubuntu 24.04

My change works in our environment since we use puppet 8 which vendors all the required versions to make this work.

The tests doesn't work even on Ubuntu 24.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant