On Aug 25, 2011, at 9:05 AM, Vincent wrote:

> the augeas tool doesn't return anything when I am trying to get the
> actual spec
> augtool> print /files/etc/sudoers
> augtool>
> 
> How can I test augtool ?


>From http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas

“You can see which files Augeas has successfully parsed by running augtool ls 
/files/ and drilling down from there. 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.”

Are you running `augtool` as root?

-- 
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 puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to