My 2c: I avoid the augeas provider whenever possible.  I've got it in one
manifest, but it's a pain to troubleshoot.  I would either assemble the file
from fragments using the concat module or drop prebuilt fragments in
/etc/sudoers.d/.  You may have to create the directory, but recent sudoers
releases support this and it's easy to work with.  You just have to be
careful to chmod the files 440.

On Fri, Aug 26, 2011 at 1:15 AM, vincent <[email protected]> wrote:

> How Can I detect why augeas doesn't treat them ?
> How can I know if it is a lens failure ?
> Does augeas have a debug mode ?
>
>
>
>
> 2011/8/25 Rob McBroom <[email protected]>
>
>> On Aug 25, 2011, at 9:35 AM, Vincent wrote:
>>
>> > yes it was as root, why the ls /etc doesn't return the sudoers ?
>>
>> On Aug 25, 2011, at 9:23 AM, Rob McBroom wrote:
>>
>> > If a file hasn’t been properly parsed by Augeas, it simply won’t show
>> up. This could mean that the file has a syntax error, the file doesn’t
>> exist, you don’t have permission to read the file, or it could imply a
>> failure in the lens itself.
>>
>>
>> --
>> Rob McBroom
>> <http://www.skurfer.com/>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Users" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/puppet-users?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to