chef-zero 5.3.1 → 5.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef_zero/chef_data/default_creator.rb +6 -10
- data/lib/chef_zero/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c112587ef733b5fcb5a38cfe65d5008e797f7df8
|
4
|
+
data.tar.gz: 4e19d9af2a6fc423de906afccef0e878da603736
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b576d2cd5cad7f0504bcf4818e2ce144d356a0f68f98f3d29134043bc67b4d632b70306613eb742a3dce907de7ed205d9780756ef87f62f32152b71e5c3c550a
|
7
|
+
data.tar.gz: 747890ec9ca51713a8ff529b123686348d2db1294e2a7f9712fd127411cd556b866c6ab179df9e43be7e0222549e3ddb1dd393a28d608f8f7a4cb2840025cf06
|
@@ -270,7 +270,8 @@ module ChefZero
|
|
270
270
|
|
271
271
|
def get_org_acl_default(path)
|
272
272
|
object_path = AclPath.get_object_path(path)
|
273
|
-
# The actual things containers correspond to don't have to exist, as
|
273
|
+
# The actual things containers correspond to don't have to exist, as
|
274
|
+
# long as the container does
|
274
275
|
return nil if !data_exists?(object_path)
|
275
276
|
basic_acl =
|
276
277
|
case path[3..-1].join("/")
|
@@ -282,7 +283,10 @@ module ChefZero
|
|
282
283
|
"delete" => { "groups" => %w{admins} },
|
283
284
|
"grant" => { "groups" => %w{admins} },
|
284
285
|
}
|
285
|
-
when "containers/environments", "containers/roles",
|
286
|
+
when "containers/environments", "containers/roles",
|
287
|
+
"containers/policy_groups", "containers/policies",
|
288
|
+
"containers/cookbooks", "containers/cookbook_artifacts",
|
289
|
+
"containers/data"
|
286
290
|
{
|
287
291
|
"create" => { "groups" => %w{admins users} },
|
288
292
|
"read" => { "groups" => %w{admins users clients} },
|
@@ -290,14 +294,6 @@ module ChefZero
|
|
290
294
|
"delete" => { "groups" => %w{admins users} },
|
291
295
|
"grant" => { "groups" => %w{admins} },
|
292
296
|
}
|
293
|
-
when "containers/cookbooks", "containers/cookbook_artifacts", "containers/data"
|
294
|
-
{
|
295
|
-
"create" => { "groups" => %w{admins users clients} },
|
296
|
-
"read" => { "groups" => %w{admins users clients} },
|
297
|
-
"update" => { "groups" => %w{admins users clients} },
|
298
|
-
"delete" => { "groups" => %w{admins users clients} },
|
299
|
-
"grant" => { "groups" => %w{admins} },
|
300
|
-
}
|
301
297
|
when "containers/nodes"
|
302
298
|
{
|
303
299
|
"create" => { "groups" => %w{admins users clients} },
|
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: 5.3.
|
4
|
+
version: 5.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Keiser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-log
|
@@ -303,7 +303,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
303
303
|
version: '0'
|
304
304
|
requirements: []
|
305
305
|
rubyforge_project:
|
306
|
-
rubygems_version: 2.
|
306
|
+
rubygems_version: 2.6.10
|
307
307
|
signing_key:
|
308
308
|
specification_version: 4
|
309
309
|
summary: Self-contained, easy-setup, fast-start in-memory Chef server for testing
|