You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the augeas lens with the commit id of: 93c8387
In the simplevars lens, it expects the format of:
PARAM = VALUE
I am able to add a new PARAM (PARAM did NOT exist before adding it) with a blank VALUE ("", empty string) and see it with a print statement. However, when I do a save, I get errors.
Here is an example of my workflow:
augtool> print /files/home/mwoodson/tmp/console.conf/
...
/files/home/mwoodson/tmp/console.conf/PARAM = VALUE1
(^^existing values shown)
augtool> set /files/home/mwoodson/tmp/console.conf/MATT_NEW_VALUE ""
augtool> print /files/home/mwoodson/tmp/console.conf/
...
/files/home/mwoodson/tmp/console.conf/PARAM = VALUE1
/files/home/mwoodson/tmp/console.conf/MATT_NEW_VALUE = ""
(^^new value added)
augtool> save
error: Failed to execute command
saving failed (run 'print /augeas//error' for details)
(^^save failed)
augtool> print /augeas//error
/augeas/files/home/mwoodson/tmp/console.conf/error = "put_failed"
/augeas/files/home/mwoodson/tmp/console.conf/error/path = "/files/home/mwoodson/tmp/console.conf/MATT_NEW_VALUE"
/augeas/files/home/mwoodson/tmp/console.conf/error/lens = "/usr/share/augeas/lenses/dist/simplevars.aug:31.40-.59:"
/augeas/files/home/mwoodson/tmp/console.conf/error/message = "Value '' does not match regexp /(('[^\\n']*')|(\"[^\\n\"]*\"))|([^\\n \\t'\"#][^\\n#]*[^\\n \\t#]|[^\\n \\t'\"#])/ in store lens"
augtool>
The text was updated successfully, but these errors were encountered:
I am using the augeas lens with the commit id of:
93c8387
In the simplevars lens, it expects the format of:
PARAM = VALUE
I am able to add a new PARAM (PARAM did NOT exist before adding it) with a blank VALUE ("", empty string) and see it with a print statement. However, when I do a save, I get errors.
Here is an example of my workflow:
The text was updated successfully, but these errors were encountered: