Hi, no, there is not.
And not to come around as overly critical, but if you ponder the use of such a functionality, chances are that you are designing a manifest that is not well in tune with puppets strengths and weaknesses (I wouldn't want to coin definitions of "right" and "wrong" ways, but there are nuances). I suggest you open a new thread and explain exactly what you expect puppet to do and inquire for good patterns to apply. Generally, for the case of "chaining actions based on the output of an executed program", it is advisable to write a shell script to do all this foot work, have puppet deploy it on the agent box and exec the whole thing in one go. HTH, Felix On 11/15/2013 08:33 PM, Stuart Cracraft wrote: > In good shape here. Got everything up and running yesterday and today. > > My current question I've posted at the main level. > > I just want to get at the value (exit status and/or standard output) > returned from > any arbitrary Unix command puppet would run. > > So the question is is there a way to get exec's output (all of it) into > a variable > and for the exit status. > > I don't see a way to do that in the cheat sheet, various books, online > nor with google. > > Stuart -- 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/528A2422.80507%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/groups/opt_out.