Hello,

I am trying to use augeas via puppet,
augeas { "mailops":
context => "/files/etc/sudoers",
  changes => [
    "set spec[user = '%mail-ops']/user %mail-ops",
    "set spec[user = '%mail-ops']/host_group/host ALL",
    "set spec[user = '%mail-ops']/host_group/command[1] \"/bin/su imail
\"",
    "set spec[user = '%mail-ops']/host_group/command[1]/tag NOPASSWD",
  ],
}

the error :

err: /Stage[main]/Managesudo::mailops/Augeas[mailops]/returns: change
from need_to_run to 0 failed: Save failed with return code false

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 ?

-- 
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