Sometimes we use puppet agent --test --environment xxx to debug puppet
configuration. The 2 minutes and more execution time is unacceptable. As
agent output is enough, we do not need the report that time. This is why i
want to disable the reports.

On Mon, Sep 17, 2012 at 11:44 PM, Daniel Pittman <dan...@puppetlabs.com>wrote:

> The agent builds up an in-memory report no matter what; you can't avoid
> that.
>
> You could write a "null" report terminus that responds to save by
> simply discarding the data, though.  That would remove the cost of
> YAML serialization.
>
> I guess the key question, though, is why you feel you need this?
>
> On Mon, Sep 17, 2012 at 12:14 AM, flex <frostyn...@gmail.com> wrote:
> > Thank you, Daniel.
> > Then how can we make puppet not generate the reports? I try to add
> > 'report=false', but seems no effect.
> >
> > On Sat, Sep 15, 2012 at 2:46 AM, Daniel Pittman <dan...@puppetlabs.com>
> > wrote:
> >>
> >> On Fri, Sep 14, 2012 at 3:16 AM, flex <frostyn...@gmail.com> wrote:
> >> > Thanks, Daniel. We do have some recursive file copies and hundreds of
> >> > other
> >> > resources. So we'd better decrease the resources numbers?
> >>
> >> Well, that would be the only short term path to making report output
> >> faster - but, in general, if you are managing it you probably need to
> >> be managing it.  :)
> >>
> >> --
> >> Daniel Pittman
> >> ⎋ Puppet Labs Developer – http://puppetlabs.com
> >> ♲ Made with 100 percent post-consumer electrons
> >>
> >> --
> >> 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.
> >>
> >
> > --
> > 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.
>
>
>
> --
> Daniel Pittman
> ⎋ Puppet Labs Developer – http://puppetlabs.com
> ♲ Made with 100 percent post-consumer electrons
>
> --
> 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.
>
>

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