vagrant-dsc 1.0.6 → 1.0.7
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ad002dd5d38e499e3db27f370028e30d5b373360
|
|
4
|
+
data.tar.gz: e7ec00cd1d284a69ed1b86888bcb9fa0ca554370
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 01783134cf80689edcb6adabcc8c4fcec63ac7b4efa2f8d9ae56cb39de17bbac05256be6fa11f26e248bc3d6853233f8ad44283ee165b091cecd45361348e85f
|
|
7
|
+
data.tar.gz: 08e1295ff52a3294d71dd5ded953724e74fe65ffb2e8a41275a1efaf81d90978625da1c6958b9c3b571dacd788d25ca3b17df3da5d2e83c6cbb8a82f18e45be5
|
data/lib/vagrant-dsc/config.rb
CHANGED
|
@@ -181,9 +181,6 @@ module VagrantPlugins
|
|
|
181
181
|
end
|
|
182
182
|
|
|
183
183
|
@expanded_configuration_data_file = Pathname.new(File.dirname(configuration_data_file)).expand_path(temp_dir).join(File.basename(configuration_data_file))
|
|
184
|
-
|
|
185
|
-
# Add -ConfigurationData flag to parameters
|
|
186
|
-
configuration_params["-ConfigurationData"] = expanded_configuration_data_file if @expanded_configuration_data_file != nil
|
|
187
184
|
end
|
|
188
185
|
|
|
189
186
|
{ "dsc provisioner" => errors }
|
|
@@ -160,8 +160,8 @@ module VagrantPlugins
|
|
|
160
160
|
module_paths: @module_paths.map { |k,v| v }.join(";"),
|
|
161
161
|
mof_path: @config.mof_path,
|
|
162
162
|
configuration_file: @config.configuration_file,
|
|
163
|
-
configuration_data_file: @config.expanded_configuration_data_file,
|
|
164
163
|
configuration_file_path: "#{@config.manifests_path}/#{File.basename @config.configuration_file}",
|
|
164
|
+
configuration_data_file_path: @config.configuration_data_file,
|
|
165
165
|
configuration_name: @config.configuration_name,
|
|
166
166
|
manifests_path: @config.manifests_path,
|
|
167
167
|
temp_path: @config.temp_dir,
|
|
@@ -26,7 +26,10 @@ echo "Running Configuration file: ${script}"
|
|
|
26
26
|
|
|
27
27
|
cd "<%= options[:temp_path] %>"
|
|
28
28
|
$StagingPath = $(Join-Path "<%= options[:temp_path] %>" "staging")
|
|
29
|
-
|
|
29
|
+
<% if options[:configuration_data_file_path] != nil %>
|
|
30
|
+
$Config = $(iex (Get-Content (Join-Path "<%= options[:temp_path] %>" "<%= options[:configuration_data_file_path] %>" -Resolve) | Out-String))
|
|
31
|
+
<% end %>
|
|
32
|
+
<%=options[:configuration_name]%> -OutputPath $StagingPath <%= options[:parameters] %><% if options[:configuration_data_file_path] != nil %> -ConfigurationData $Config<% end %>
|
|
30
33
|
<% else %>
|
|
31
34
|
$StagingPath = "<%= options[:mof_path] %>"
|
|
32
35
|
<% end %>
|
data/lib/vagrant-dsc/version.rb
CHANGED
|
@@ -485,7 +485,8 @@ echo \"Running Configuration file: ${script}\"
|
|
|
485
485
|
|
|
486
486
|
cd \"/tmp/vagrant-dsc-1\"
|
|
487
487
|
$StagingPath = $(Join-Path \"/tmp/vagrant-dsc-1\" \"staging\")
|
|
488
|
-
|
|
488
|
+
$Config = $(iex (Get-Content (Join-Path \"/tmp/vagrant-dsc-1\" \"manifests/MyConfig.psd1\" -Resolve) | Out-String))
|
|
489
|
+
MyWebsite -OutputPath $StagingPath -ConfigurationData $Config
|
|
489
490
|
|
|
490
491
|
# Start a DSC Configuration run
|
|
491
492
|
Start-DscConfiguration -Force -Wait -Verbose -Path $StagingPath
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vagrant-dsc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Fellows
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-02-
|
|
11
|
+
date: 2015-02-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|