Use File.join instead of File.expand_path in chef solo provisioner for folder paths. Allows it work on windows again.
This commit is contained in:
parent
8f9bb0c9b3
commit
3c225ee768
|
@ -1,6 +1,7 @@
|
|||
## 0.5.3 (unreleased)
|
||||
|
||||
|
||||
- Fixed chef solo provision to work on Windows. It was expanding a linux
|
||||
path which prepended a drive letter onto it.
|
||||
|
||||
## 0.5.2 (August 3, 2010)
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ GEM
|
|||
mario (0.0.6)
|
||||
mocha (0.9.8)
|
||||
rake
|
||||
net-scp (1.0.2)
|
||||
net-scp (1.0.3)
|
||||
net-ssh (>= 1.99.1)
|
||||
net-ssh (2.0.23)
|
||||
rake (0.8.7)
|
||||
|
|
|
@ -64,7 +64,7 @@ module Vagrant
|
|||
end
|
||||
|
||||
def folder_path(*args)
|
||||
File.expand_path(args.join("-"), env.config.chef.provisioning_path)
|
||||
File.join(env.config.chef.provisioning_path, args.join("-"))
|
||||
end
|
||||
|
||||
def folders_path(folders, folder)
|
||||
|
|
Loading…
Reference in New Issue