On Thu, Feb 13, 2014 at 9:54 AM, Ryan Anderson <ryan.c.ander...@gmail.com>wrote:

> I have some augeas code that works flawlessly with puppet 2.6.17, but when
> running the identical code on 3.4.2, I get an error.
>
> The code:
>    augeas { 'myuser_in_logingroup':
>       context     => '/files/etc/group',
>       changes     => [ "set ${hostname}/user[last()+1] myuser", ],
>       onlyif      => "match ${hostname}/*[.='myuser'] size == 0",
>       require     => Group['local_login_group'],
>     }
>
> The error from running 'puppet agent -tv':
> Warning: Augeas[myuser_in_logingroup](provider=augeas): Loading failed for
> one or more files, see debug for /augeas//error output
> Error: /Stage[main]/Group_management/Augeas[myuser_in_logingroup]: Could
> not evaluate: Save failed with return code false, see debug
>
> I'm having a difficult time finding/understanding clues from debug output.
> Any ideas?
>

Ryan, would you mind running 'puppet agent --trace --verbose --debug' and
posting the output here?



>
>  --
> 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/0daa274a-6978-41e5-8812-be05d13dfa39%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Rob Reynolds
Developer, Puppet Labs

*Join us at PuppetConf 2014, September 23-24 in San Francisco - *
http://bit.ly/pupconf14

-- 
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/CAMJiBK5F1GgFyBMTZQmyND7zrfaRpyPe5jKXS3%3DupdVzO8RVpw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to