chef-deployment-monitor 0.3.3 → 0.4.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: 68502cb465233af659a319b5cfc4464326d4fc52
|
4
|
+
data.tar.gz: 4124b52e7b7b5a4645da5de0bb194756248438bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa259e5e5066f1b56d4da997831ececf06c32f48ac6ba5ce6860b824c48014c63850605f5b424ff0053dad49055ab10fdcfaca0047a947d0ce0e8568f47b5aec
|
7
|
+
data.tar.gz: 29fea1a19eb422aa723c5133bb199a33e42b221873e7ea1fe4393b22c3299a623cf24de40d0a21bfc14fc37977e52203469a3c7139d3739311e9afcae58d8584
|
@@ -53,7 +53,7 @@ class Chef
|
|
53
53
|
end
|
54
54
|
|
55
55
|
def filter(data)
|
56
|
-
filter_user(data) || filter_action(data)
|
56
|
+
filter_user(data) || filter_action(data) || filter_object(data)
|
57
57
|
end
|
58
58
|
|
59
59
|
def filter_user(data)
|
@@ -61,6 +61,11 @@ class Chef
|
|
61
61
|
user_blacklist && (data['user'] =~ user_blacklist)
|
62
62
|
end
|
63
63
|
|
64
|
+
def filter_object(data)
|
65
|
+
object_blacklist = Monitor::Config[:object_blacklist]
|
66
|
+
object_blacklist && (data['object'] =~ object_blacklist)
|
67
|
+
end
|
68
|
+
|
64
69
|
def filter_action(data)
|
65
70
|
action_blacklist = Monitor::Config[:action_blacklist]
|
66
71
|
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.4.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: 2015-
|
12
|
+
date: 2015-10-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: file-tail
|
@@ -129,3 +129,4 @@ signing_key:
|
|
129
129
|
specification_version: 4
|
130
130
|
summary: Chef Monitoring tool to monitor all changes made
|
131
131
|
test_files: []
|
132
|
+
has_rdoc: false
|