On Mon, 2011-09-26 at 13:24 -0700, Jo Rhett wrote: > How can one reload the lenses in puppet-augeas? In short, I need to alter a > lense's load path and then modify a file, exactly as below but inside a > puppet stanza. > > $ augtool > augtool> set /augeas/load/MySQL/incl[4] /other/location/my.cnf > augtool> load > augtool> set /files/other/location/my.cnf/target[1]/datadir '/other/db/' > augtool> save
The augeas type in puppet has a way to explicitly specify the lens and file. IIRC, the properties are called 'lens' and 'incl'. David _______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
