HomePhorge

(#9838) Return the tranaction report when doing a ral save
d759f84c30a0Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#9838) Return the tranaction report when doing a ral save

When using puppet resource from the command line, using `puppet
resource` to do a save will log error messages to the console when
saving using the ral indirection. However, this doesn't help when using
that indirection in Ruby like you might from MCollective's puppetral
agent.

So we now return the transaction report you get from applying the
catalog.

The only place we could find this indirection being used was in the
puppet resource application, although it's possible that code external
to puppet uses this indirection and will need to change what it expects
for the return value of save.

Reviewed-by: Max Martin <max@puppetlabs.com>

Details

Provenance
Matt Robinson <matt@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU127f83e80e5b: (#9837) Split parameter pruning from manifest formatting
Branches
Unknown
Tags
Unknown

Event Timeline

Matt Robinson <matt@puppetlabs.com> committed rPUd759f84c30a0: (#9838) Return the tranaction report when doing a ral save (authored by Matt Robinson <matt@puppetlabs.com>).Oct 1 2011, 12:24 AM