<html><body>
<pre>[ https://ovirt-jira.atlassian.net/browse/OVIRT-1694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]</pre>
<h3>Evgheni Dereveanchin reassigned OVIRT-1694:</h3>
<pre>Assignee: Evgheni Dereveanchin (was: infra)</pre>
<blockquote><h3>puppet fails to set up sudo on CentOS 7.4</h3>
<pre> Key: OVIRT-1694
URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1694
Project: oVirt - virtualization made easy
Issue Type: Bug
Components: Hosting
Reporter: Evgheni Dereveanchin
Assignee: Evgheni Dereveanchin</pre>
<p>puppet is unable to configure sudo on newly provisioned CentOS 7.4 systems due to changes in /etc/sudoers that augeas cannot parse: Debug: Augeas[Allow sudo ederevea](provider=augeas): Augeas version 1.4.0 is installed Warning: Augeas[Allow sudo ederevea](provider=augeas): Loading failed for one or more files, see debug for /augeas//error output Debug: Augeas[Allow sudo ederevea](provider=augeas): /augeas/files/etc/sudoers/error = parse_failed Debug: Augeas[Allow sudo ederevea](provider=augeas): /augeas/files/etc/sudoers/error/pos = 2308 Debug: Augeas[Allow sudo ederevea](provider=augeas): /augeas/files/etc/sudoers/error/line = 65 Debug: Augeas[Allow sudo ederevea](provider=augeas): /augeas/files/etc/sudoers/error/char = 12 Debug: Augeas[Allow sudo ederevea](provider=augeas): /augeas/files/etc/sudoers/error/lens = /usr/share/augeas/lenses/dist/sudoers.aug:529.10-.70: Debug: Augeas[Allow sudo ederevea](provider=augeas): /augeas/files/etc/sudoers/error/message = Iterated lens matched less than it should Debug: Augeas[Allow sudo ederevea](provider=augeas): Will attempt to save and only run if files changed Debug: Augeas[Allow sudo ederevea](provider=augeas): sending command ‘set’ with params ["/files/etc/sudoers/spec[user = ‘ederevea']/user", “ederevea”] Debug: Augeas[Allow sudo ederevea](provider=augeas): sending command ‘set’ with params ["/files/etc/sudoers/spec[user = ‘ederevea']/host_group/host", “ALL”] Debug: Augeas[Allow sudo ederevea](provider=augeas): sending command ‘set’ with params ["/files/etc/sudoers/spec[user = 'ederevea']/host_group/command", “ALL”] Debug: Augeas[Allow sudo ederevea](provider=augeas): sending command 'set’ with params ["/files/etc/sudoers/spec[user = 'ederevea']/host_group/command/runas_user", “root”] Debug: Augeas[Allow sudo ederevea](provider=augeas): sending command 'set’ with params ["/files/etc/sudoers/spec[user = 'ederevea']/host_group/command/tag", “PASSWD”] Debug: Augeas[Allow sudo ederevea](provider=augeas): Closed the augeas connection Error: /Stage[main]/Ovirt_infra::User::Ederevea/Ovirt_infra::User[ederevea]/Augeas[Allow sudo ederevea]: Could not evaluate: Saving failed, see debug commenting out the following line in /etc/sudoers fixes the issue: Defaults match_group_by_gid The following version is installed: augeas-libs-1.4.0-2.el7_4.1.x86_64</p></blockquote>
<p>— This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100065)</p>
<img src="https://u4043402.ct.sendgrid.net/wf/open?upn=i5TMWGV99amJbNxJpSp2-2BCmpYLyzYS3r1Q939T2sgz34CVeIrc3KbIVq-2B86LMosq20kk-2BfcUs1MfP1tnHGsgUaWFE-2BWB41Qt-2FnkRL0mqHH098Cl1mnHDZKdtjnxXYBh4VKfd7Kha9dwW2y6C3xnFvdN9BbUQ2911lFPQZcO9z8-2FrJ1u0yMW69rtjBWYMXoGCCEP2r-2F2fuxMCMJ8uiglIAOqQ4HsdDheQ4e9u-2F6c5a9A-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>