Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix redis implementation #350

Merged
merged 2 commits into from
Nov 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions files/plugins/connector/redis/mcollective/connector/redis.ddl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
metadata :name => "Redis Connector",
:description => "Connector plugin for Redis middleware",
:author => "R.I.Pienaar <rip@devco.net>",
:license => "ASL 2.0",
:version => "1.0.0",
:url => "https://github.com/ripienaar/mcollective-vagrant",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this url correct? It does not seem to be related to the redis connector.

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't find another or "the" source, but the redis connector in both mcollective modules are the same. So the voxpupuli one and the one from https://github.com/ripienaar/mcollective-vagrant/tree/master/deploy/modules/mcollective/files/lib/connector are the same.

this is only a meta file, but i don't wanted to write my name in there, i only wanted it to work ;-)

:timeout => 60

requires :mcollective => "2.6.0"
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def receive
def publish(msg)
Log.debug("About to publish to the sender queue")

target = {:name => nil, :headers => {}, :name => nil}
target = {:name => nil, :headers => {}}

if msg.type == :direct_request
msg.discovered_hosts.each do |node|
Expand Down