kitchen-bluebox 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +20 -44
- data/kitchen-bluebox.gemspec +1 -1
- data/lib/kitchen/driver/bluebox_version.rb +1 -1
- metadata +5 -6
data/README.md
CHANGED
@@ -56,35 +56,12 @@ The SSH port number to be used when communicating with the instance.
|
|
56
56
|
|
57
57
|
The default is `22`.
|
58
58
|
|
59
|
-
### <a name="config-require-chef-omnibus"></a> require\_chef\_omnibus
|
60
|
-
|
61
|
-
Determines whether or not a Chef [Omnibus package][chef_omnibus_dl] will be
|
62
|
-
installed. There are several different behaviors available:
|
63
|
-
|
64
|
-
* `true` - the latest release will be installed. Subsequent converges
|
65
|
-
will skip re-installing if chef is present.
|
66
|
-
* `latest` - the latest release will be installed. Subsequent converges
|
67
|
-
will always re-install even if chef is present.
|
68
|
-
* `<VERSION_STRING>` (ex: `10.24.0`) - the desired version string will
|
69
|
-
be passed the the install.sh script. Subsequent converges will skip if
|
70
|
-
the installed version and the desired version match.
|
71
|
-
* `false` or `nil` - no chef is installed.
|
72
|
-
|
73
|
-
The default value is unset, or `nil`.
|
74
|
-
|
75
59
|
### <a name="config-ssh-key"></a> ssh\_key
|
76
60
|
|
77
61
|
Path to the private SSH key used to connect to the instance.
|
78
62
|
|
79
63
|
The default is unset, or `nil`.
|
80
64
|
|
81
|
-
### <a name="config-sudo"></a> sudo
|
82
|
-
|
83
|
-
Whether or not to prefix remote system commands such as installing and
|
84
|
-
running Chef with `sudo`.
|
85
|
-
|
86
|
-
The default is `true`.
|
87
|
-
|
88
65
|
### <a name="config-username"></a> username
|
89
66
|
|
90
67
|
The SSH username that will be used to communicate with the instance.
|
@@ -98,25 +75,24 @@ to override default configuration.
|
|
98
75
|
|
99
76
|
```yaml
|
100
77
|
---
|
101
|
-
|
102
|
-
|
78
|
+
driver:
|
79
|
+
name: bluebox
|
103
80
|
bluebox_customer_id: 123...
|
104
81
|
bluebox_api_key: abc...
|
105
82
|
location_id: def789...
|
106
83
|
ssh_public_key: /path/to/id_dsa.pub
|
107
84
|
ssh_key: /path/to/id_dsa
|
108
|
-
require_chef_omnibus: true
|
109
85
|
|
110
86
|
platforms:
|
111
|
-
- name: ubuntu-12.04
|
112
|
-
|
113
|
-
|
114
|
-
- name: scientific-6.3
|
115
|
-
|
116
|
-
|
87
|
+
- name: ubuntu-12.04
|
88
|
+
driver:
|
89
|
+
image_id: b137c423-bade-4b01-9d13-271eea552563
|
90
|
+
- name: scientific-6.3
|
91
|
+
driver:
|
92
|
+
image_id: caaaca6b-fbe0-4e27-af2b-d100e46767bd
|
117
93
|
|
118
94
|
suites:
|
119
|
-
|
95
|
+
- name: default
|
120
96
|
```
|
121
97
|
|
122
98
|
Both `.kitchen.yml` and `.kitchen.local.yml` files are pre-processed through
|
@@ -124,24 +100,23 @@ ERB which can help to factor out secrets and credentials. For example:
|
|
124
100
|
|
125
101
|
```yaml
|
126
102
|
---
|
127
|
-
|
128
|
-
|
103
|
+
driver:
|
104
|
+
name: bluebox
|
129
105
|
bluebox_customer_id: <%= ENV['BLUEBOX_CUSTOMER_ID'] %>
|
130
106
|
bluebox_api_key: <%= ENV['BLUEBOX_API_KEY'] %>
|
131
107
|
ssh_public_key: <%= File.expand_path('~/.ssh/id_dsa.pub') %>
|
132
108
|
ssh_key: <%= File.expand_path('~/.ssh/id_dsa') %>
|
133
|
-
require_chef_omnibus: true
|
134
109
|
|
135
110
|
platforms:
|
136
|
-
- name: ubuntu-12.04
|
137
|
-
|
138
|
-
|
139
|
-
- name: scientific-6.3
|
140
|
-
|
141
|
-
|
111
|
+
- name: ubuntu-12.04
|
112
|
+
driver:
|
113
|
+
image_id: b137c423-bade-4b01-9d13-271eea552563
|
114
|
+
- name: scientific-6.3
|
115
|
+
driver:
|
116
|
+
image_id: caaaca6b-fbe0-4e27-af2b-d100e46767bd
|
142
117
|
|
143
118
|
suites:
|
144
|
-
|
119
|
+
- name: default
|
145
120
|
```
|
146
121
|
|
147
122
|
## <a name="development"></a> Development
|
@@ -161,7 +136,7 @@ example:
|
|
161
136
|
|
162
137
|
## <a name="authors"></a> Authors
|
163
138
|
|
164
|
-
Created
|
139
|
+
Created by [Fletcher Nichol][author] (<fnichol@nichol.ca>) and maintained by [Blue Box Group][bbg_site]
|
165
140
|
|
166
141
|
## <a name="license"></a> License
|
167
142
|
|
@@ -177,3 +152,4 @@ Apache 2.0 (see [LICENSE][license])
|
|
177
152
|
|
178
153
|
[bbg_site]: https://bluebox.net/
|
179
154
|
[blocks_docs]: https://boxpanel.bluebox.net/public/the_vault/index.php/Blocks_API
|
155
|
+
[fog_gem]: http://fog.io/
|
data/kitchen-bluebox.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ["lib"]
|
20
20
|
|
21
|
-
gem.add_dependency 'test-kitchen', '~> 1.
|
21
|
+
gem.add_dependency 'test-kitchen', '~> 1.1'
|
22
22
|
gem.add_dependency 'fog'
|
23
23
|
|
24
24
|
gem.add_development_dependency 'yard'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-bluebox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-01-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: test-kitchen
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
21
|
+
version: '1.1'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.
|
29
|
+
version: '1.1'
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: fog
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -161,9 +161,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
161
|
version: '0'
|
162
162
|
requirements: []
|
163
163
|
rubyforge_project:
|
164
|
-
rubygems_version: 1.8.
|
164
|
+
rubygems_version: 1.8.23
|
165
165
|
signing_key:
|
166
166
|
specification_version: 3
|
167
167
|
summary: Kitchen::Driver::Bluebox - A Blue Box block API driver for Test Kitchen
|
168
168
|
test_files: []
|
169
|
-
has_rdoc:
|