Thanks !

> Le 27 août 2017 à 06:56, David Lutterkort <lut...@puppet.com> a écrit :
> 
> Hi Fabrice,
> 
> I just merged this change 
> <https://github.com/hercules-team/augeas/commit/30c5dbf980706c14f4be3cc556fc1dab01db3fec>
>  to the sudoers lens to address that. You can just overwrite the stock lens 
> in /usr/share/augeas/lenses/dist/sudoers.aug with the updated lens 
> <https://github.com/hercules-team/augeas/blob/master/lenses/sudoers.aug>, and 
> things should just work.
> 
> David
> 
> On Friday, August 25, 2017 at 9:43:13 AM UTC-7, Fabrice Bacchella wrote:
> 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 puppet-users+unsubscr...@googlegroups.com 
> <mailto:puppet-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/66d019bc-0554-48e3-a2dc-1b61e5f976b8%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/puppet-users/66d019bc-0554-48e3-a2dc-1b61e5f976b8%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/77480E2A-BF98-4567-A536-4514CED03F41%40orange.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to