I've upgraded a test machin with Centos 7.4 CR

When I run puppet on it, configuring /etc/sudoers with augeas, I'm getting:

Warning: Augeas[sudoers include](provider=augeas): Loading failed for one or 
more files, see debug for /augeas//error output

augtool ls /augeas//error says :
pos = 2308
line = 65
char = 12
lens/ = /usr/share/augeas/lenses/dist/sudoers.aug:529.10-.70:
message = Iterated lens matched less than it should

Line 65 is:
Defaults    match_group_by_gid

If I look at /usr/share/augeas/lenses/dist/sudoers.aug, I found:
let parameter_flag_kw    = "always_set_home" | "authenticate" | "env_editor"
                         | "env_reset" | "fqdn" | "ignore_dot"
                         | "ignore_local_sudoers" | "insults" | "log_host"
                         | "log_year" | "long_otp_prompt" | "mail_always"
                         | "mail_badpass" | "mail_no_host" | "mail_no_perms"
                         | "mail_no_user" | "noexec" | "path_info"
                         | "passprompt_override" | "preserve_groups"
                         | "requiretty" | "root_sudo" | "rootpw" | "runaspw"
                         | "set_home" | "set_logname" | "setenv"
                         | "shell_noargs" | "stay_setuid" | "targetpw"
                         | "tty_tickets" | "visiblepw" | "closefrom_override"
                         | "closefrom_override" | "compress_io" | "fast_glob"
                         | "log_input" | "log_output" | "pwfeedback"
                         | "umask_override" | "use_pty"

match_group_by_gid is missing I think.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/33C0AC3C-FCAE-4BA3-BAC9-12E8C84B89F5%40orange.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to