On Thu, Oct 8, 2009 at 2:36 PM, Scott <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to