chef-deployment-monitor 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0731a018ef9602ffbd987a5a59499977836760ff
|
4
|
+
data.tar.gz: ee96cbe82fe737fbbe3b3afde1c6b9084ae3ccca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c0c07a86616b4946200d24ad2dfd15f6d3cdee7b28fb81f3d73c7d2c17f1949e10026f6a01d2aebd54962a20b298e49b328662fa1f7bc1fad3386686bc5b6d2
|
7
|
+
data.tar.gz: 138a89a958dc736c317cc5429804e194765bf2db04eaa04e878498e7dd916a8282ddfd831ab8d86105b865e31e2fd4ee2eab2c470d26a3bc988e6812c2588bbe
|
@@ -53,7 +53,7 @@ class Chef
|
|
53
53
|
end
|
54
54
|
|
55
55
|
def filter(data)
|
56
|
-
filter_user(data) || filter_action(data) || filter_object(data)
|
56
|
+
filter_user(data) || filter_action(data) || filter_object(data) || filter_org(data)
|
57
57
|
end
|
58
58
|
|
59
59
|
def filter_user(data)
|
@@ -66,6 +66,11 @@ class Chef
|
|
66
66
|
object_blacklist && (data['object'] =~ object_blacklist)
|
67
67
|
end
|
68
68
|
|
69
|
+
def filter_org(data)
|
70
|
+
org_blacklist = Monitor::Config[:org_blacklist]
|
71
|
+
org_blacklist && (data['org'] =~ org_blacklist)
|
72
|
+
end
|
73
|
+
|
69
74
|
def filter_action(data)
|
70
75
|
action_blacklist = Monitor::Config[:action_blacklist]
|
71
76
|
action_blacklist && (data['action'] =~ action_blacklist)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-deployment-monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sander Botman
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-05-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: file-tail
|
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
124
|
version: '0'
|
125
125
|
requirements: []
|
126
126
|
rubyforge_project:
|
127
|
-
rubygems_version: 2.
|
127
|
+
rubygems_version: 2.5.1
|
128
128
|
signing_key:
|
129
129
|
specification_version: 4
|
130
130
|
summary: Chef Monitoring tool to monitor all changes made
|