serverspec 2.8.0 → 2.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/serverspec/setup.rb +2 -1
- data/lib/serverspec/version.rb +1 -1
- metadata +20 -21
- data/wercker.yml +0 -80
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01d57c3bb3f01345027349cd0a5c9bae1b148026
|
4
|
+
data.tar.gz: edb5c81d8d747237c8362554050ebcb04e330904
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64a7742e86cc96a70fee0a9e9aa73e5923b3c7dd0b9e37414c5071222641429b09e87c46eb7ad41226e173bd1477b03bc7ba43b44409312d926059909b3b434a
|
7
|
+
data.tar.gz: b6364d03c0f2529ac9ecdc15e6c696bf12a5fb8728ff8c4068391fcfaf95e70a61d038b07ed7726c29dd8ae6ad485654f1f7e6eb36d7918c8c5ba5c4b1963467
|
data/lib/serverspec/setup.rb
CHANGED
@@ -275,7 +275,8 @@ host = ENV['TARGET_HOST']
|
|
275
275
|
`vagrant up #{host}`
|
276
276
|
|
277
277
|
config = Tempfile.new('', Dir.tmpdir)
|
278
|
-
`vagrant ssh-config #{host}
|
278
|
+
config.write(`vagrant ssh-config #{host}`)
|
279
|
+
config.close
|
279
280
|
|
280
281
|
options = Net::SSH::Config.for(host, [config.path])
|
281
282
|
<%- else -%>
|
data/lib/serverspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,97 +1,97 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serverspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.8.
|
4
|
+
version: 2.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01
|
11
|
+
date: 2015-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.0'
|
20
20
|
type: :runtime
|
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: '3.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec-its
|
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: :runtime
|
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: multi_json
|
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: :runtime
|
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: specinfra
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '2.12'
|
62
62
|
type: :runtime
|
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: '2.12'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '1.3'
|
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: '1.3'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ~>
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 10.1.1
|
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: 10.1.1
|
97
97
|
description: RSpec tests for your servers configured by Puppet, Chef or anything else
|
@@ -102,9 +102,9 @@ executables:
|
|
102
102
|
extensions: []
|
103
103
|
extra_rdoc_files: []
|
104
104
|
files:
|
105
|
-
-
|
106
|
-
-
|
107
|
-
-
|
105
|
+
- .gitignore
|
106
|
+
- .gitmodules
|
107
|
+
- .travis.yml
|
108
108
|
- Gemfile
|
109
109
|
- Guardfile
|
110
110
|
- LICENSE.txt
|
@@ -290,7 +290,6 @@ files:
|
|
290
290
|
- spec/type/windows/scheduled_task_spec.rb
|
291
291
|
- spec/type/windows/service_spec.rb
|
292
292
|
- spec/type/windows/user_spec.rb
|
293
|
-
- wercker.yml
|
294
293
|
homepage: http://serverspec.org/
|
295
294
|
licenses:
|
296
295
|
- MIT
|
@@ -301,17 +300,17 @@ require_paths:
|
|
301
300
|
- lib
|
302
301
|
required_ruby_version: !ruby/object:Gem::Requirement
|
303
302
|
requirements:
|
304
|
-
- -
|
303
|
+
- - '>='
|
305
304
|
- !ruby/object:Gem::Version
|
306
305
|
version: '0'
|
307
306
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
308
307
|
requirements:
|
309
|
-
- -
|
308
|
+
- - '>='
|
310
309
|
- !ruby/object:Gem::Version
|
311
310
|
version: '0'
|
312
311
|
requirements: []
|
313
312
|
rubyforge_project:
|
314
|
-
rubygems_version: 2.
|
313
|
+
rubygems_version: 2.0.3
|
315
314
|
signing_key:
|
316
315
|
specification_version: 4
|
317
316
|
summary: RSpec tests for your servers configured by Puppet, Chef or anything else
|
data/wercker.yml
DELETED
@@ -1,80 +0,0 @@
|
|
1
|
-
box: mizzy/serverspec-base@0.0.6
|
2
|
-
build:
|
3
|
-
steps:
|
4
|
-
- script:
|
5
|
-
name: Make $HOME/.ssh directory
|
6
|
-
code: mkdir -p $HOME/.ssh
|
7
|
-
- create-file:
|
8
|
-
name: Put SSH public key
|
9
|
-
filename: $HOME/.ssh/id_rsa.pub
|
10
|
-
overwrite: true
|
11
|
-
hide-from-log: true
|
12
|
-
content: $DIGITALOCEAN_SSH_KEY_PUBLIC
|
13
|
-
- create-file:
|
14
|
-
name: Put SSH private key
|
15
|
-
filename: $HOME/.ssh/id_rsa
|
16
|
-
overwrite: true
|
17
|
-
hide-from-log: true
|
18
|
-
content: $DIGITALOCEAN_SSH_KEY_PRIVATE
|
19
|
-
- script:
|
20
|
-
name: Run chmod 0400 $HOME/.ssh/id_rsa
|
21
|
-
code: chmod 0400 $HOME/.ssh/id_rsa
|
22
|
-
- script:
|
23
|
-
name: Run setup.sh
|
24
|
-
code: $WORKING_DIR/setup.sh
|
25
|
-
- script:
|
26
|
-
name: Run vagrant up centos65
|
27
|
-
code: vagrant up centos65 --provider=digital_ocean
|
28
|
-
cwd: $WORKING_DIR
|
29
|
-
- script:
|
30
|
-
name: Run itamae
|
31
|
-
code: bundle exec itamae ssh --host centos65 --vagrant recipe.rb
|
32
|
-
cwd: $WORKING_DIR
|
33
|
-
- script:
|
34
|
-
name: Run vagrant reload centos65
|
35
|
-
code: vagrant reload centos65
|
36
|
-
cwd: $WORKING_DIR
|
37
|
-
- script:
|
38
|
-
name: Run rake spec:centos65
|
39
|
-
code: DIGITALOCEAN=true rake spec:centos65
|
40
|
-
cwd: $WORKING_DIR
|
41
|
-
- script:
|
42
|
-
name: Run vagrant up centos70
|
43
|
-
code: vagrant up centos70 --provider=digital_ocean
|
44
|
-
cwd: $WORKING_DIR
|
45
|
-
- script:
|
46
|
-
name: Run itamae
|
47
|
-
code: bundle exec itamae ssh --host centos70 --vagrant recipe.rb
|
48
|
-
cwd: $WORKING_DIR
|
49
|
-
- script:
|
50
|
-
name: Run vagrant reload centos70
|
51
|
-
code: vagrant reload centos70
|
52
|
-
cwd: $WORKING_DIR
|
53
|
-
- script:
|
54
|
-
name: Run rake spec:centos70
|
55
|
-
code: DIGITALOCEAN=true rake spec:centos70
|
56
|
-
cwd: $WORKING_DIR
|
57
|
-
- script:
|
58
|
-
name: Run vagrant up ubuntu1404
|
59
|
-
code: vagrant up ubuntu1404 --provider=digital_ocean
|
60
|
-
cwd: $WORKING_DIR
|
61
|
-
- script:
|
62
|
-
name: Run itamae
|
63
|
-
code: bundle exec itamae ssh --host ubuntu1404 --vagrant recipe.rb
|
64
|
-
cwd: $WORKING_DIR
|
65
|
-
- script:
|
66
|
-
name: Run vagrant reload ubuntu1404
|
67
|
-
code: vagrant reload ubuntu1404
|
68
|
-
cwd: $WORKING_DIR
|
69
|
-
- script:
|
70
|
-
name: Run rake spec:ubuntu1404
|
71
|
-
code: DIGITALOCEAN=true rake spec:ubuntu1404
|
72
|
-
cwd: $WORKING_DIR
|
73
|
-
|
74
|
-
after-steps:
|
75
|
-
- script:
|
76
|
-
name: Run vagrant destroy
|
77
|
-
code: vagrant destroy --force
|
78
|
-
cwd: $WORKING_DIR
|
79
|
-
- 1syo/idobata-notify@0.1.1:
|
80
|
-
token: $IDOBATA_TOKEN
|