chef-handler-status_notifier 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/chef-handler-status_notifier.gemspec +1 -1
- data/lib/chef/handler/status_notifier.rb +1 -3
- 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: 3149f18b65e07619bad10f7b36ce33d0ac29fc42
|
4
|
+
data.tar.gz: 3c3d034ad1bfac27d916a3cc8f3f2d91bd03bc91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88e108cd32ecd04df1b2f441ee75cd9cfe71a0de5a0eeae6ddb15f37a4f006c6a7c1f587dac2179fe06037d0430308de8c9415e8941a4e3564f1e0f3a8da35ec
|
7
|
+
data.tar.gz: 5b0ede03e06aa9d39b8490b096157e4a3b4c00de5cc73807fcb129c993993c022758d69a9dbb5b22dc7a67180b147c2618f6651d5aa4e4bd3e7cee496149bb8d
|
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |spec|
|
5
5
|
spec.name = "chef-handler-status_notifier"
|
6
|
-
spec.version = "0.4.
|
6
|
+
spec.version = "0.4.4"
|
7
7
|
spec.authors = ["Faizal Zakaria"]
|
8
8
|
spec.email = ["phaibusiness@gmail.com"]
|
9
9
|
spec.summary = %q{Chef status notifier handler}
|
@@ -45,9 +45,7 @@ class StatusNotifierHandler < Chef::Handler
|
|
45
45
|
|
46
46
|
def send_to_slack(node_name, status, msg)
|
47
47
|
return unless @slack_params[:enabled]
|
48
|
-
slack.channel
|
49
|
-
slack.username = @slack_params[:username]
|
50
|
-
slack.ping '', attachments: [slack_attachment(node_name, status, msg)]
|
48
|
+
slack.ping '', attachments: [slack_attachment(node_name, status, msg)], channel: @slack_params[:channel], username: @slack_params[:username]
|
51
49
|
end
|
52
50
|
|
53
51
|
def hipchat
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-handler-status_notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Faizal Zakaria
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hipchat
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
93
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.
|
94
|
+
rubygems_version: 2.5.1
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
97
|
summary: Chef status notifier handler
|