-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Error: Could not evaluate: Failed to save Augeas tree to file. See debug logs for details. #19
Comments
This only happens when I use comment.
|
This happens to us, but only if we specify the tart as /etc/sysctl.d/99-sysctl.conf |
I've determined this issue is due to these lines: puppet-augeasproviders_sysctl/lib/puppet/provider/sysctl/augeas.rb Lines 192 to 194 in 78c2bcb
When I comment out line 194 ( |
After some testing, I found two options:
first puppet run:
second puppet run:
|
I get this error when I use more than one target files.
And after changing the value or the comment in the last file (/etc/sysctl.d/90-kernel.conf).
Example code:
The first puppet agent run is going well. But after changing the code (value of kernel.panic changed from 20 into 30):
I get the messages:
It works only when I also chang the order from my code ( move the changing part to the top ) into:
Now the Puppet agent run is going well again:
The text was updated successfully, but these errors were encountered: