Hi All,
I have just completed program I've been writing, and thought some people
on this list might be interested.
I've called the progam "augsuggest", and it is currently available from:
https://github.com/georgehansper/augsuggest.c
It is intended for use with Augeas https://augeas.net
For those unfamiliar with Augeas, it describes itself as a
"configuration editing tool".
In practical terms, Augeas makes the process of making small changes to
configs readable, robust and idempotent.
especially when compared to the all-too-common "sed -i " script, or
fileline or lineinfile modules offered by Puppet or Ansible.
"augsuggest" will "suggest" a suitable Augeas "augtool" script for a
given input file.
The resulting script is intended to
- be able to recreate the original file
- make no changes if applied to the original file
- use path-expressions in preference to absolute position-numbers
The resulting script requires Augeas version 1.13.0 to work properly.
For further details, see: https://github.com/georgehansper/augsuggest.c
I would be interested to know what people think.
Regards,
George Hansper
_______________________________________________
luv-main mailing list -- [email protected]
To unsubscribe send an email to [email protected]