summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorSerdar Sutay <serdar@opscode.com>2014-12-11 16:43:46 -0800
committerSerdar Sutay <serdar@opscode.com>2014-12-11 16:43:46 -0800
commitaf20f1f996b58bef6972da92e3226135318c60cd (patch)
tree62e2aec02fc4588d1eca658a14aba458e5e20efc /tasks
parentda59a45b758793562babf871a9aedb1cd51726fd (diff)
downloadchef-af20f1f996b58bef6972da92e3226135318c60cd.tar.gz
As https://github.com/opscode/chef/issues/2580 summarizes, Link resource need to support relative paths in its 'to' attribute since one can create a symlink pointing to a relative location. This is useful if the directory that symlink resides in moves to a different place (e.g. mounting a disk on a separate location).sersut/revert-1901
This commit preserves relative paths inside the "encode_path" method used by the link operations and expands relative paths in similar fashion when being used by file operations.
Diffstat (limited to 'tasks')
0 files changed, 0 insertions, 0 deletions