knife-acl 1.0.1 → 1.0.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/knife/acl_add.rb +1 -0
- data/lib/chef/knife/acl_base.rb +4 -4
- data/lib/chef/knife/acl_bulk_add.rb +1 -0
- data/lib/chef/knife/acl_bulk_remove.rb +1 -0
- data/lib/chef/knife/acl_remove.rb +1 -0
- data/lib/chef/knife/acl_show.rb +1 -0
- data/lib/chef/knife/group_add.rb +1 -0
- data/lib/chef/knife/group_create.rb +1 -0
- data/lib/chef/knife/group_destroy.rb +1 -0
- data/lib/chef/knife/group_list.rb +1 -0
- data/lib/chef/knife/group_remove.rb +1 -0
- data/lib/chef/knife/group_show.rb +1 -0
- data/lib/knife-acl/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a6cd528b66d124ccda12a6687e70adcbe6dce96
|
4
|
+
data.tar.gz: 5c4aa8c1dd51003dbebd0044cf8e220803fb8267
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb58b805be9445328c3e5540b2bcd94254553412428434856bcf7ad3211397f2bdaa59242e26c0eac0392f014e29858993a65ebabbe70f98e6dc64ba3b1f46a2
|
7
|
+
data.tar.gz: 0b08abdb3fb96a0f02fbd68331b4dbb2c0db182f0df978e86f6daf8ad4746d91ce6a67c38a0259fb3f6ad1de55634716032bd87d3b3242e71c25d34292dee997
|
data/lib/chef/knife/acl_add.rb
CHANGED
data/lib/chef/knife/acl_base.rb
CHANGED
@@ -20,10 +20,10 @@
|
|
20
20
|
module OpscodeAcl
|
21
21
|
module AclBase
|
22
22
|
|
23
|
-
PERM_TYPES = %w(create read update delete grant)
|
24
|
-
MEMBER_TYPES = %w(client group user)
|
25
|
-
OBJECT_TYPES = %w(clients containers cookbooks data environments groups nodes roles policies policy_groups)
|
26
|
-
OBJECT_NAME_SPEC = /^[\-[:alnum:]_\.]+$/
|
23
|
+
PERM_TYPES = %w(create read update delete grant) unless defined? PERM_TYPES
|
24
|
+
MEMBER_TYPES = %w(client group user) unless defined? MEMBER_TYPES
|
25
|
+
OBJECT_TYPES = %w(clients containers cookbooks data environments groups nodes roles policies policy_groups) unless defined? OBJECT_TYPES
|
26
|
+
OBJECT_NAME_SPEC = /^[\-[:alnum:]_\.]+$/ unless defined? OBJECT_NAME_SPEC
|
27
27
|
|
28
28
|
def validate_object_type!(type)
|
29
29
|
if ! OBJECT_TYPES.include?(type)
|
data/lib/chef/knife/acl_show.rb
CHANGED
data/lib/chef/knife/group_add.rb
CHANGED
data/lib/knife-acl/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-acl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seth Falcon
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-01-26 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Knife plugin to manupulate Chef server access control lists
|
15
15
|
email: support@chef.io
|