gusteau 1.0.7.dev → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +5 -2
- data/README.md +2 -4
- data/lib/gusteau/version.rb +1 -1
- data/template/README.md.erb +7 -8
- metadata +9 -6
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -6,8 +6,6 @@
|
|
6
6
|
[![Coverage Status](https://coveralls.io/repos/locomote/gusteau/badge.png)](https://coveralls.io/r/locomote/gusteau)
|
7
7
|
[![Dependency Status](https://gemnasium.com/locomote/gusteau.png)](https://gemnasium.com/locomote/gusteau)
|
8
8
|
|
9
|
-
------------
|
10
|
-
|
11
9
|
Gusteau is an easy to use configuration manager for Chef Solo and Vagrant. It aims to:
|
12
10
|
|
13
11
|
* Provide existing Chef Solo users with a more efficient workflow
|
@@ -156,7 +154,7 @@ In addition to specifying `attributes` for environments you can set node-specifc
|
|
156
154
|
```
|
157
155
|
environments:
|
158
156
|
staging:
|
159
|
-
attributes:
|
157
|
+
attributes:
|
160
158
|
hostname: staging
|
161
159
|
nodes:
|
162
160
|
one:
|
@@ -186,4 +184,4 @@ By default, Gusteau uploads and sets Chef Solo up to use cookbooks from `./cookb
|
|
186
184
|
```
|
187
185
|
cookbooks_path: [ './my-cookbooks', '../something-else' ]
|
188
186
|
roles_path: './base-roles'
|
189
|
-
```
|
187
|
+
```
|
data/lib/gusteau/version.rb
CHANGED
data/template/README.md.erb
CHANGED
@@ -16,7 +16,7 @@ A configuration file for Vagrant which includes gusteau as a plugin. It detects
|
|
16
16
|
|
17
17
|
### cookbooks
|
18
18
|
|
19
|
-
Gusteau uploads `site-cookbooks` and `cookbooks` directories when you converge a node. Between the two, `cookbooks` is a directory for your vendorized cookbooks. This example project uses Berkshelf, so in order to populate the directory run
|
19
|
+
By default, Gusteau uploads `site-cookbooks` and `cookbooks` directories when you converge a node. Between the two, `cookbooks` is a directory for your vendorized cookbooks. This example project uses Berkshelf, so in order to populate the directory run
|
20
20
|
|
21
21
|
```
|
22
22
|
berks install --path ./cookbooks
|
@@ -46,24 +46,23 @@ gusteau converge example-box
|
|
46
46
|
|
47
47
|
## Testing your Chef-Repo
|
48
48
|
|
49
|
-
It is a very good practice to have tests for your Chef-
|
50
|
-
This project includes an example
|
49
|
+
It is a very good practice to have integration tests for your Chef-powered infrastructure.
|
50
|
+
This project includes an example setup to get you started.
|
51
51
|
|
52
52
|
The tests are implemented using the excellent [serverspec](http://serverspec.org/) framework.
|
53
53
|
|
54
54
|
There are two important bits to have a look at:
|
55
55
|
|
56
|
-
###
|
56
|
+
### spec
|
57
57
|
|
58
58
|
The directory where integration tests are placed.
|
59
59
|
|
60
|
-
### .
|
60
|
+
### `spec/spec_helper.rb`
|
61
61
|
|
62
|
-
|
62
|
+
Where serverspec is configured against your Gusteau nodes.
|
63
63
|
|
64
64
|
To run the tests:
|
65
65
|
|
66
66
|
```
|
67
|
-
bundle exec
|
67
|
+
bundle exec rake spec
|
68
68
|
```
|
69
|
-
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gusteau
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.0
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Vasily Mikhaylichenko
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-07-
|
13
|
+
date: 2013-07-10 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: optitron
|
@@ -301,13 +301,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
301
301
|
version: '0'
|
302
302
|
segments:
|
303
303
|
- 0
|
304
|
-
hash: -
|
304
|
+
hash: -4376898351999153113
|
305
305
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
306
306
|
none: false
|
307
307
|
requirements:
|
308
|
-
- - ! '
|
308
|
+
- - ! '>='
|
309
309
|
- !ruby/object:Gem::Version
|
310
|
-
version:
|
310
|
+
version: '0'
|
311
|
+
segments:
|
312
|
+
- 0
|
313
|
+
hash: -4376898351999153113
|
311
314
|
requirements: []
|
312
315
|
rubyforge_project:
|
313
316
|
rubygems_version: 1.8.23
|