Nigel, thanks! I tried something similar more than a year ago that didn't work so it didn't occur to me to try that.
Scott On Oct 8, 5:52 pm, Nigel Kersten <nig...@google.com> wrote: > On Thu, Oct 8, 2009 at 2:36 PM, Scott <scott...@gmail.com> wrote: > > > So I ran into a situation where I'd like to execute the same command > > (make) but in 2 different working directories, anyone know how I can > > do that without adding superfluous options to the exec to make it > > unique? > > exec { "foo": > command => "make blah", > cwd => "/foo", > > } > > exec { "foo_two": > command => "make blah", > cwd => /foo_two", > > } > > is that what you mean? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---