kitchen-dsc 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/kitchen/provisioner/dsc.rb +6 -2
- data/lib/kitchen-dsc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 67b9cceaa9a2983ffa6615f701c8ab8f7a5b84e9
|
|
4
|
+
data.tar.gz: dd66cf4436b80d2ffda047e18657236842edf45d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c7f4fbcd82f80e4bb430dc89bbf94d781f70781bc7dbc9ccc01d20ff8b4abced2f2d4aed5729c39c0697d51d7393abfb84942971dcf7c4499690a76d85935d5f
|
|
7
|
+
data.tar.gz: fc675bde7b34bf81fc8053274ae0dd9017adc76a3f531c73d7bce2c67d65c4e01dadbc72e8e9819f21585f7243c5e3644d848d22928f1398becbe3536554d316
|
|
@@ -113,7 +113,7 @@ module Kitchen
|
|
|
113
113
|
{
|
|
114
114
|
mkdir 'c:/configurations' | out-null
|
|
115
115
|
}
|
|
116
|
-
$ConfigurationScriptPath = Join-path #{config[:root_path]} #{
|
|
116
|
+
$ConfigurationScriptPath = Join-path #{config[:root_path]} #{sandboxed_configuration_script}
|
|
117
117
|
if (-not (test-path $ConfigurationScriptPath))
|
|
118
118
|
{
|
|
119
119
|
throw "Failed to find $ConfigurationScriptPath"
|
|
@@ -188,10 +188,14 @@ module Kitchen
|
|
|
188
188
|
FileUtils.cp_r(module_path, sandbox_module_path)
|
|
189
189
|
end
|
|
190
190
|
|
|
191
|
+
def sandboxed_configuration_script
|
|
192
|
+
File.join('configuration', config[:configuration_script])
|
|
193
|
+
end
|
|
194
|
+
|
|
191
195
|
def prepare_configuration_script
|
|
192
196
|
configuration_script_file = File.join(config[:configuration_script_folder], config[:configuration_script])
|
|
193
197
|
configuration_script_path = File.join(config[:kitchen_root], configuration_script_file)
|
|
194
|
-
sandbox_configuration_script_path = File.join(sandbox_path,
|
|
198
|
+
sandbox_configuration_script_path = File.join(sandbox_path, sandboxed_configuration_script)
|
|
195
199
|
|
|
196
200
|
debug("Moving #{configuration_script_path} to #{sandbox_configuration_script_path}")
|
|
197
201
|
FileUtils.cp(configuration_script_path, sandbox_configuration_script_path)
|
data/lib/kitchen-dsc/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kitchen-dsc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Murawski
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-04-
|
|
11
|
+
date: 2015-04-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: |+
|
|
14
14
|
== DESCRIPTION:
|