Also, I want to see the return status code, besides the standard output from the program. Does Puppet not provide a way to get at either?
On Friday, November 15, 2013 10:30:28 AM UTC-8, Stuart Cracraft wrote: > > Hi, > > I want to run a command: > > /usr/bin/id someusername > > and then check that the output is equal to some variable. > > Is there a way to do this in puppet pattern language? > > 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/1d9f81d2-b33c-43bb-abe1-089d6046a7a2%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.