vagrant-dsc 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -4
- data/lib/vagrant-dsc/templates/runner.ps1.erb +2 -1
- data/lib/vagrant-dsc/version.rb +1 -1
- data/spec/provisioner/provisioner_spec.rb +18 -6
- data/vagrant-dsc.gemspec +0 -1
- metadata +19 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4b6efc99d9b93981b271840132718d939117be3
|
4
|
+
data.tar.gz: 3696ac715f5a013f3b8b4ffba17a2974423ca0ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b49654d807da8cfa54dc7c4f727f3cc6d1fd2bc2b9b5f9e4e3cc006581a8df57214486e459f9207a75b97e9ff71b031dd19d5e4356fc2863bb7134cc62c68352
|
7
|
+
data.tar.gz: b481a266b8541979cf98275a07bb7be67cc16e8b205f89af7d984b29250330bc7d0d22b245cfc492aea3dd1be7cf629f74f357f76f2be416420105e4cdb5ec13
|
data/.travis.yml
CHANGED
@@ -2,10 +2,9 @@ language: ruby
|
|
2
2
|
before_install:
|
3
3
|
- rvm @global do gem uninstall bundler --all --executables
|
4
4
|
- gem uninstall bundler --all --executables
|
5
|
-
- gem install bundler --version '
|
5
|
+
- gem install bundler --version '1.12.5'
|
6
6
|
rvm:
|
7
|
-
- 2.
|
8
|
-
- 2.1.0
|
7
|
+
- 2.2.3
|
9
8
|
- ruby-head
|
10
9
|
matrix:
|
11
10
|
allow_failures:
|
@@ -13,7 +12,7 @@ matrix:
|
|
13
12
|
fast_finish: true
|
14
13
|
env:
|
15
14
|
matrix:
|
16
|
-
- VAGRANT_VERSION=v1.
|
15
|
+
- VAGRANT_VERSION=v1.8.5
|
17
16
|
global:
|
18
17
|
secure: d34dSoYsh9C9tCgAeKp3TIYdxPlrGh1j+x01Igg7Ku0rmmv0f1+NSZOcSpgbf5daXFk1i5mQrRcYjIVOclGAlCXM7IKWfDyefstmYl+2+Hjv4LGJHQNvBTz02MerfKlUef2HMAt3HJsNvwhqvIVrHetC6ZeSaFtupWqhuXWgREQ=
|
19
18
|
script: bundle exec rake test:unit
|
@@ -17,6 +17,7 @@ $env:PSModulePath="$absoluteModulePaths;${env:PSModulePath}"
|
|
17
17
|
|
18
18
|
$script = $(Join-Path "<%= options[:temp_path] %>" "<%= options[:configuration_file_path] %>" -Resolve)
|
19
19
|
echo "PSModulePath Configured: ${env:PSModulePath}"
|
20
|
+
echo ""
|
20
21
|
echo "Running Configuration file: ${script}"
|
21
22
|
|
22
23
|
# Generate the MOF file, only if a MOF path not already provided.
|
@@ -36,4 +37,4 @@ $StagingPath = "<%= options[:mof_path] %>"
|
|
36
37
|
|
37
38
|
# Start a DSC Configuration run
|
38
39
|
Start-DscConfiguration -Force -Wait -Verbose -Path $StagingPath
|
39
|
-
del $StagingPath\*.mof
|
40
|
+
del $StagingPath\*.mof
|
data/lib/vagrant-dsc/version.rb
CHANGED
@@ -266,6 +266,7 @@ $env:PSModulePath=\"$absoluteModulePaths;${env:PSModulePath}\"
|
|
266
266
|
|
267
267
|
$script = $(Join-Path \"/tmp/vagrant-dsc-1\" \"manifests/MyWebsite.ps1\" -Resolve)
|
268
268
|
echo \"PSModulePath Configured: ${env:PSModulePath}\"
|
269
|
+
echo \"\"
|
269
270
|
echo \"Running Configuration file: ${script}\"
|
270
271
|
|
271
272
|
# Generate the MOF file, only if a MOF path not already provided.
|
@@ -278,7 +279,8 @@ MyWebsite -OutputPath $StagingPath
|
|
278
279
|
|
279
280
|
# Start a DSC Configuration run
|
280
281
|
Start-DscConfiguration -Force -Wait -Verbose -Path $StagingPath
|
281
|
-
del $StagingPath\\*.mof
|
282
|
+
del $StagingPath\\*.mof
|
283
|
+
"
|
282
284
|
|
283
285
|
expect(script).to eq(expect_script)
|
284
286
|
end
|
@@ -307,6 +309,7 @@ $env:PSModulePath=\"$absoluteModulePaths;${env:PSModulePath}\"
|
|
307
309
|
|
308
310
|
$script = $(Join-Path \"/tmp/vagrant-dsc-1\" \"../manifests/MyWebsite.ps1\" -Resolve)
|
309
311
|
echo \"PSModulePath Configured: ${env:PSModulePath}\"
|
312
|
+
echo \"\"
|
310
313
|
echo \"Running Configuration file: ${script}\"
|
311
314
|
|
312
315
|
# Generate the MOF file, only if a MOF path not already provided.
|
@@ -319,7 +322,8 @@ MyWebsite -OutputPath $StagingPath
|
|
319
322
|
|
320
323
|
# Start a DSC Configuration run
|
321
324
|
Start-DscConfiguration -Force -Wait -Verbose -Path $StagingPath
|
322
|
-
del $StagingPath\\*.mof
|
325
|
+
del $StagingPath\\*.mof
|
326
|
+
"
|
323
327
|
|
324
328
|
expect(script).to eq(expect_script)
|
325
329
|
end
|
@@ -347,6 +351,7 @@ $env:PSModulePath=\"$absoluteModulePaths;${env:PSModulePath}\"
|
|
347
351
|
|
348
352
|
$script = $(Join-Path \"/tmp/vagrant-dsc-1\" \"manifests/MyWebsite.ps1\" -Resolve)
|
349
353
|
echo \"PSModulePath Configured: ${env:PSModulePath}\"
|
354
|
+
echo \"\"
|
350
355
|
echo \"Running Configuration file: ${script}\"
|
351
356
|
|
352
357
|
# Generate the MOF file, only if a MOF path not already provided.
|
@@ -359,7 +364,8 @@ MyWebsite -OutputPath $StagingPath -Foo \"bar\" -ComputerName \"catz\"
|
|
359
364
|
|
360
365
|
# Start a DSC Configuration run
|
361
366
|
Start-DscConfiguration -Force -Wait -Verbose -Path $StagingPath
|
362
|
-
del $StagingPath\\*.mof
|
367
|
+
del $StagingPath\\*.mof
|
368
|
+
"
|
363
369
|
|
364
370
|
expect(script).to eq(expect_script)
|
365
371
|
end
|
@@ -385,6 +391,7 @@ $env:PSModulePath=\"$absoluteModulePaths;${env:PSModulePath}\"
|
|
385
391
|
|
386
392
|
$script = $(Join-Path \"/tmp/vagrant-dsc-1\" \"manifests/MyWebsite.ps1\" -Resolve)
|
387
393
|
echo \"PSModulePath Configured: ${env:PSModulePath}\"
|
394
|
+
echo \"\"
|
388
395
|
echo \"Running Configuration file: ${script}\"
|
389
396
|
|
390
397
|
# Generate the MOF file, only if a MOF path not already provided.
|
@@ -397,7 +404,8 @@ MyWebsite -OutputPath $StagingPath -FooFlag -BarFlag -FooParam \"FooVal\"
|
|
397
404
|
|
398
405
|
# Start a DSC Configuration run
|
399
406
|
Start-DscConfiguration -Force -Wait -Verbose -Path $StagingPath
|
400
|
-
del $StagingPath\\*.mof
|
407
|
+
del $StagingPath\\*.mof
|
408
|
+
"
|
401
409
|
|
402
410
|
expect(script).to eq(expect_script)
|
403
411
|
end
|
@@ -426,6 +434,7 @@ $env:PSModulePath=\"$absoluteModulePaths;${env:PSModulePath}\"
|
|
426
434
|
|
427
435
|
$script = $(Join-Path \"/tmp/vagrant-dsc-1\" \"manifests/MyWebsite.ps1\" -Resolve)
|
428
436
|
echo \"PSModulePath Configured: ${env:PSModulePath}\"
|
437
|
+
echo \"\"
|
429
438
|
echo \"Running Configuration file: ${script}\"
|
430
439
|
|
431
440
|
# Generate the MOF file, only if a MOF path not already provided.
|
@@ -433,7 +442,8 @@ $StagingPath = \"staging\"
|
|
433
442
|
|
434
443
|
# Start a DSC Configuration run
|
435
444
|
Start-DscConfiguration -Force -Wait -Verbose -Path $StagingPath
|
436
|
-
del $StagingPath\\*.mof
|
445
|
+
del $StagingPath\\*.mof
|
446
|
+
"
|
437
447
|
|
438
448
|
expect(script).to eq(expect_script)
|
439
449
|
end
|
@@ -477,6 +487,7 @@ $env:PSModulePath=\"$absoluteModulePaths;${env:PSModulePath}\"
|
|
477
487
|
|
478
488
|
$script = $(Join-Path \"/tmp/vagrant-dsc-1\" \"manifests/MyWebsite.ps1\" -Resolve)
|
479
489
|
echo \"PSModulePath Configured: ${env:PSModulePath}\"
|
490
|
+
echo \"\"
|
480
491
|
echo \"Running Configuration file: ${script}\"
|
481
492
|
|
482
493
|
# Generate the MOF file, only if a MOF path not already provided.
|
@@ -490,7 +501,8 @@ MyWebsite -OutputPath $StagingPath -ConfigurationData $Config
|
|
490
501
|
|
491
502
|
# Start a DSC Configuration run
|
492
503
|
Start-DscConfiguration -Force -Wait -Verbose -Path $StagingPath
|
493
|
-
del $StagingPath\\*.mof
|
504
|
+
del $StagingPath\\*.mof
|
505
|
+
"
|
494
506
|
|
495
507
|
expect(script).to eq(expect_script)
|
496
508
|
end
|
data/vagrant-dsc.gemspec
CHANGED
@@ -19,7 +19,6 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_development_dependency "rake"#, '~> 10.3', '>= 10.3.0'
|
22
|
-
# spec.add_development_dependency "bundler", "~> 1.6", '>= 1.6.0'
|
23
22
|
spec.add_development_dependency "coveralls"#, "~> 0.7.1", '>= 0.7.1'
|
24
23
|
spec.add_development_dependency "rspec-core"#, '~> 3.1', '>= 3.1.0'
|
25
24
|
spec.add_development_dependency "rspec-expectations"#, '~> 3.1', '>= 3.1.0'
|
metadata
CHANGED
@@ -1,97 +1,97 @@
|
|
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.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Fellows
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: coveralls
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec-core
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec-expectations
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec-mocks
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec-its
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
description: Desired State Configuration (http://technet.microsoft.com/en-au/library/dn249912.aspx)
|
@@ -102,8 +102,8 @@ executables: []
|
|
102
102
|
extensions: []
|
103
103
|
extra_rdoc_files: []
|
104
104
|
files:
|
105
|
-
- .gitignore
|
106
|
-
- .travis.yml
|
105
|
+
- ".gitignore"
|
106
|
+
- ".travis.yml"
|
107
107
|
- Gemfile
|
108
108
|
- LICENSE.txt
|
109
109
|
- README.md
|
@@ -138,17 +138,17 @@ require_paths:
|
|
138
138
|
- lib
|
139
139
|
required_ruby_version: !ruby/object:Gem::Requirement
|
140
140
|
requirements:
|
141
|
-
- -
|
141
|
+
- - ">="
|
142
142
|
- !ruby/object:Gem::Version
|
143
143
|
version: '0'
|
144
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
145
|
requirements:
|
146
|
-
- -
|
146
|
+
- - ">="
|
147
147
|
- !ruby/object:Gem::Version
|
148
148
|
version: '0'
|
149
149
|
requirements: []
|
150
150
|
rubyforge_project:
|
151
|
-
rubygems_version: 2.
|
151
|
+
rubygems_version: 2.4.8
|
152
152
|
signing_key:
|
153
153
|
specification_version: 4
|
154
154
|
summary: DSC Provisioner for Vagrant
|
@@ -157,4 +157,3 @@ test_files:
|
|
157
157
|
- spec/provisioner/config_spec.rb
|
158
158
|
- spec/provisioner/provisioner_spec.rb
|
159
159
|
- spec/spec_helper.rb
|
160
|
-
has_rdoc:
|