Skip to content

Commit

Permalink
Merge pull request #135 from cbuben/issue-944
Browse files Browse the repository at this point in the history
Merged automatically by jenkins after successful build test
  • Loading branch information
rcbjenkins committed May 24, 2014
2 parents 3c1cad9 + 2429740 commit 5e5140b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@
default["rpcdaemon"]["queue_expire"] = 60
# quantum API timeouts
default["rpcdaemon"]["timeout"] = 20
# which plugins should be enabled
default["rpcdaemon"]["enabled_plugins"] = ["L3Agent", "DHCPAgent"]

# ######################################################################### #
# Neutron Configuration Attributes
Expand Down
3 changes: 2 additions & 1 deletion recipes/rpcdaemon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"rabbit_ipaddress" => rabbit_info["host"],
"check_interval" => node["rpcdaemon"]["check_interval"],
"queue_expire" => node["rpcdaemon"]["queue_expire"],
"timeout" => node["rpcdaemon"]["timeout"]
"timeout" => node["rpcdaemon"]["timeout"],
"enabled_plugins" => node["rpcdaemon"]["enabled_plugins"]
)
end

Expand Down
2 changes: 1 addition & 1 deletion templates/default/rpcdaemon.conf.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Daemon]
# Space-separated list of plugins to load
# Available plugins: L3Agent, DHCPAgent, Dump
plugins = L3Agent DHCPAgent
plugins = <%= @enabled_plugins.join(' ') %>

# Rabbit server IP
rpchost = <%= @rabbit_ipaddress %>
Expand Down

0 comments on commit 5e5140b

Please sign in to comment.