I have a MySQL configuration file with an
!includedir directive. The directive seems to show up properly when the lens examines the file:
$ sudo augtool print /files/etc/my.cnf | fgrep includedir /files/etc/my.cnf/!includedir = "/etc/mysql/conf.d/"
However, while augtool prints out the path when examining /etc/my.cnf, it keeps complaining about an invalid path expression if I try to print or examine the actual node. For example:
$ sudo augtool augtool> print /files/etc/my.cnf/!includedir error: Invalid path expression error: empty name /files/etc/my.cnf/|=|!includedir
How can I use Augeas 1.0.0 to manage the
!includedir directive in the /etc/my.cnf file?