- From: Laurent Desarmes <
>
- To:
- Subject: [chef-dev] CHEF-2398 : adding a cwd attr to the link resource
- Date: Sun, 15 Apr 2012 00:25:45 +0200
Hi there,
I've written a simple implementation of a cwd attribute for the Link
resource.
it defaults to nil.
When loading the current resource, if cwd is an absolute link it
saves the current working dir then chdir(cwd)
at the end of both actions, it sets the working dir back if necessary.
I've added a requirement to Pathname so it can check for absolute
paths on the windows platform as well.
http://tickets.opscode.com/browse/CHEF-2389
I'm looking forward to your thougths and comments about it :)
--
Laurent
- [chef-dev] CHEF-2398 : adding a cwd attr to the link resource, Laurent Desarmes, 04/14/2012
Archive powered by MHonArc 2.6.16.