chef-zero 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -17
- data/lib/chef_zero/endpoints/environment_nodes_endpoint.rb +1 -1
- data/lib/chef_zero/server.rb +1 -1
- data/lib/chef_zero/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6c24fde8bb84962324a79c418978ec93fd52ac8
|
4
|
+
data.tar.gz: 71d24e21a84902b5caa06ff2a1d48e69a1615cca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ef14b23d22f1adcaf6551f15e505da9fe157e7015bbbaba0ae9448df6205777705501387e2d8a1d26872a42fa3e8e9fec1b3c868896273dd4e9e1424267d44a
|
7
|
+
data.tar.gz: 020842c6725b2d9b73c69434b435ca2e1b4cccec446a6f9a854628b9453b46e8f4ecb5f54386875cd799661e9198688d5b24d5f963a80eb614812047ff7679e3
|
data/README.md
CHANGED
@@ -97,26 +97,29 @@ work (show, list, delete, from file, upload, download, diff ...). For example,
|
|
97
97
|
with +knife-essentials+ (or Chef 11) you can upload everything in the repo:
|
98
98
|
|
99
99
|
chef-zero/playground> knife upload .
|
100
|
-
Created
|
101
|
-
Created
|
102
|
-
Created
|
103
|
-
Created
|
104
|
-
Created
|
105
|
-
Created
|
106
|
-
Created
|
107
|
-
Created
|
108
|
-
Created
|
109
|
-
Created
|
110
|
-
Created
|
111
|
-
Created
|
112
|
-
Created
|
113
|
-
Created
|
100
|
+
Created nodes/desktop.json
|
101
|
+
Created data_bags/dns
|
102
|
+
Created environments/production.json
|
103
|
+
Created nodes/lb.json
|
104
|
+
Created nodes/dns.json
|
105
|
+
Created nodes/ldap.json
|
106
|
+
Created nodes/www.json
|
107
|
+
Created data_bags/dns/services.json
|
108
|
+
Created environments/staging.json
|
109
|
+
Created data_bags/passwords
|
110
|
+
Created data_bags/users
|
111
|
+
Created data_bags/users/jkeiser.json
|
112
|
+
Created data_bags/passwords/github.json
|
113
|
+
Created data_bags/passwords/twitter.json
|
114
|
+
Created data_bags/users/schisamo.json
|
115
|
+
Created data_bags/users/sethvargo.json
|
116
|
+
Created cookbooks/apache2
|
117
|
+
Created cookbooks/php
|
114
118
|
|
115
119
|
chef-zero/playground> knife environment list
|
116
120
|
_default
|
117
|
-
|
118
|
-
|
119
|
-
semi_arid_plains
|
121
|
+
production
|
122
|
+
staging
|
120
123
|
|
121
124
|
To use it in your own repository, create a `knife.rb` like so:
|
122
125
|
|
@@ -13,7 +13,7 @@ module ChefZero
|
|
13
13
|
list_data(request, ['nodes']).each do |name|
|
14
14
|
node = JSON.parse(get_data(request, ['nodes', name]), :create_additions => false)
|
15
15
|
if node['chef_environment'] == request.rest_path[1]
|
16
|
-
result[name] = build_uri(request.base_uri, 'nodes', name)
|
16
|
+
result[name] = build_uri(request.base_uri, ['nodes', name])
|
17
17
|
end
|
18
18
|
end
|
19
19
|
json_response(200, result)
|
data/lib/chef_zero/server.rb
CHANGED
data/lib/chef_zero/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-zero
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Keiser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-log
|
@@ -119,6 +119,8 @@ files:
|
|
119
119
|
- LICENSE
|
120
120
|
- README.md
|
121
121
|
- Rakefile
|
122
|
+
- bin/chef-zero
|
123
|
+
- lib/chef_zero.rb
|
122
124
|
- lib/chef_zero/cookbook_data.rb
|
123
125
|
- lib/chef_zero/data_normalizer.rb
|
124
126
|
- lib/chef_zero/data_store/data_already_exists_error.rb
|
@@ -171,12 +173,10 @@ files:
|
|
171
173
|
- lib/chef_zero/solr/solr_doc.rb
|
172
174
|
- lib/chef_zero/solr/solr_parser.rb
|
173
175
|
- lib/chef_zero/version.rb
|
174
|
-
- lib/chef_zero.rb
|
175
176
|
- spec/run.rb
|
176
177
|
- spec/search_spec.rb
|
177
178
|
- spec/support/pedant.rb
|
178
179
|
- spec/support/stickywicket.pem
|
179
|
-
- bin/chef-zero
|
180
180
|
homepage: http://www.opscode.com
|
181
181
|
licenses:
|
182
182
|
- Apache 2.0
|
@@ -197,9 +197,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
197
|
version: '0'
|
198
198
|
requirements: []
|
199
199
|
rubyforge_project:
|
200
|
-
rubygems_version: 2.
|
200
|
+
rubygems_version: 2.2.0
|
201
201
|
signing_key:
|
202
202
|
specification_version: 4
|
203
203
|
summary: Self-contained, easy-setup, fast-start in-memory Chef server for testing
|
204
204
|
and solo setup purposes
|
205
205
|
test_files: []
|
206
|
+
has_rdoc:
|