chef-rabbit 1.0.1 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/chef/rabbit.rb +2 -1
- data/lib/chef/rabbit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZGI2NWE3ZGRjMzI0NTNhYTgyMTMxMGVlOTNiYTgwZjVmMWUwOTNkZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTM5MDYyNTI0MTc0MTkzMDU5MDU5YTI0OGM1ZDA4NWY2OTIzN2E2YQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjczNmE5ODJlZjRjZmU4Yjg4YjIxNTUxNGVhNDRkMWI5YjRmNjg2N2M1MjE5
|
10
|
+
YjVhMTQ0YzJhZWE0NWRmNWQzOTg3ZWZiNzkzY2RmMzBlODUzYjA3NzFmNmM2
|
11
|
+
NGVkOTA2MjM1ZTcyMTQxMzUxNThkNjljYzZhNmIxNWNjM2EzNjU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzljYjFkNjkzNDE5N2FhMjI2NjE5OGVjYTM4ZjJhODk4OTNiMTM5OGMyZDg5
|
14
|
+
NjM3OTJjMDNlNWRkZmM0OWYwMjRkMTc5MDg4ZTFiZWQzMWJmNDBkMGFiMmU5
|
15
|
+
M2MzMzg2MDk4M2VmZjhjMGMzNjIzMWQyODliYjY5MWU0OGM4M2I=
|
data/lib/chef/rabbit.rb
CHANGED
@@ -11,6 +11,7 @@
|
|
11
11
|
require "chef/rabbit/version"
|
12
12
|
require 'bunny'
|
13
13
|
require 'chef/log'
|
14
|
+
require "chef/handler"
|
14
15
|
|
15
16
|
class Chef
|
16
17
|
module RABBIT
|
@@ -52,7 +53,7 @@ class Chef
|
|
52
53
|
|
53
54
|
channel = @connection.create_channel
|
54
55
|
exchange = (@options[:exchange] == nil) ? channel.default_echange : channel.direct(@options[:exchange][:name], @options[:exchange][:params])
|
55
|
-
channel.queue(@options[:queue][:name], @options[:queue][:params]).bind(
|
56
|
+
channel.queue(@options[:queue][:name], @options[:queue][:params]).bind(exchange)
|
56
57
|
|
57
58
|
timestamp = (@options[:timestamp_tag] == nil) ? "timestamp" : @options[:timestamp_tag]
|
58
59
|
|
data/lib/chef/rabbit/version.rb
CHANGED