Fancy. I tried searching for several things but came up empty. This is probably something that should go on the dev wiki (if anyone is of a mind to do so).
Thanks! Trevor On Mon, Mar 7, 2011 at 4:51 PM, Stefan Schulte <stefan.schu...@taunusstein.net> wrote: > On Mon, Mar 07, 2011 at 04:05:18PM -0500, Trevor Vaughan wrote: >> So, I have this working, but I'm not quite sure why I needed to do it this >> way. >> >> I took a look at the exec:returns property and the associated 'sync' define. >> >> I was getting an error about returning an invalid event and I wasn't >> sure what type of event I was supposed to return in sync. >> >> I noticed that exec is returning :executed_event but I don't see any >> other mention of this in any code anywhere. >> >> So, likewise, I just stuck a random unique :some_var in my sync method >> as the return value. >> >> But...why? >> >> Thanks, >> >> Trevor > > I asked about events on puppet-dev a while ago and as it turns out they > are currently not used and you can return "nil" to let puppet > autogenerate an event. > > Search for > »newvalue(:foo) returns an event. What is an event« to find the old > thread. > > -Stefan > -- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 tvaug...@onyxpoint.com -- This account not approved for unencrypted proprietary information -- -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@googlegroups.com. To unsubscribe from this group, send email to puppet-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.