-
Notifications
You must be signed in to change notification settings - Fork 200
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
Unable to add Match to /etc/sshd_conf #830
Comments
Hello Mihael, This problem is due to a change made by #806 Prior to this change (1.12.0) the sshd.aug lens expected a simple string value for #806 changed
This brings the parameter eg the 2 lines
Are transformed into the Augeas paths
where each element of the list has a separate path While this change may seem a bit arbitrary, it does make it easier to make smaller, idempotent changes to the sshd_config eg. to append the value
Any existing entries in the list remain unchanged Unfortunately, the optional leading prefix |
That's it! Than you for your time and for your detailed answer. |
Unable to add to /etc/sshd_conf with puppet module and 1.14.1 version. Using augtool 1.12.0 works without issues. Thank you for looking at this.
With version 1.12.0 from debian repo everything works fine
puppet confg gets an error
debug run error
Same as trying with version 1.14.1
The text was updated successfully, but these errors were encountered: