kitchen-dsc 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kitchen-dsc/version.rb +1 -1
- data/lib/kitchen/provisioner/dsc.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d254d3dbbf50778bf30979b2eb6081b954c60910
|
4
|
+
data.tar.gz: 042dff4ac31ee1bc0c807485766715b54cbb5115
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f914b5dbfe83dd6a90f8ec40c52ed9560324ca108a9b48f1775436defcdc349e26ced8911ee344a9ce192302e3fdda583134286bc3ca6cba1b0aaa45a66684b
|
7
|
+
data.tar.gz: 4bcc0777b07a3d50fc0e7ff87a4b4f12c99678e80f1340a20895b796fbd978460c1e1d92081ff209388f37292f4245ef1a8d718d13f0ae928ee9b81b1e1e9e3f
|
data/lib/kitchen-dsc/version.rb
CHANGED
@@ -189,14 +189,14 @@ module Kitchen
|
|
189
189
|
end
|
190
190
|
|
191
191
|
def sandboxed_configuration_script
|
192
|
-
File.join('configuration', config[:configuration_script])
|
192
|
+
File.join('./configuration', config[:configuration_script])
|
193
193
|
end
|
194
194
|
|
195
195
|
def prepare_configuration_script
|
196
196
|
configuration_script_file = File.join(config[:configuration_script_folder], config[:configuration_script])
|
197
197
|
configuration_script_path = File.join(config[:kitchen_root], configuration_script_file)
|
198
198
|
sandbox_configuration_script_path = File.join(sandbox_path, sandboxed_configuration_script)
|
199
|
-
|
199
|
+
FileUtils.mkdir_p(File.dirname(sandbox_configuration_script_path))
|
200
200
|
debug("Moving #{configuration_script_path} to #{sandbox_configuration_script_path}")
|
201
201
|
FileUtils.cp(configuration_script_path, sandbox_configuration_script_path)
|
202
202
|
end
|