Puppet/Augeas -- ins command worked on RH6, fails on RH7
Solution 1:
Thank you @raphink
augtool errors
said
Error in /etc/sudoers:96.12 (parse_failed)
Iterated lens matched less than it should
Lens: /usr/share/augeas/lenses/dist/sudoers.aug:530.10-.70:
Last matched: /usr/share/augeas/lenses/dist/sep.aug:47.18-.40:
Next (no match): /usr/share/augeas/lenses/dist/sudoers.aug:500.16-501.47:
So I checked line 96 of /etc/sudoers
and it said
@includedir /etc/sudoers.d
Apparently, @includedir
is now a valid syntax in addition to the older-style syntax #includedir
... but (my) augeas lens does not recognize the new version.
(* View: includedir *)
let includedir =
[ key /#include(dir)?/ . Sep.space . store Rx.fspath . eol ]
I changed the @
to a #
in /etc/sudoers
and that seems to have resolved the problem.