Skip to content

Commit

Permalink
Make the rabbitmq_vhost defaults match the docs
Browse files Browse the repository at this point in the history
Documentation and tests were updated, but the actual code wasn't. Make the
code match the documentation.
  • Loading branch information
bodgit committed Aug 1, 2014
1 parent 6243d1a commit c1287ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/puppet/type/sensu_rabbitmq_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def initialize(*args)
newproperty(:vhost) do
desc "The vhost to use when connecting to RabbitMQ"

defaultto '/sensu'
defaultto 'sensu'
end

autorequire(:package) do
Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
$rabbitmq_host = 'localhost',
$rabbitmq_user = 'sensu',
$rabbitmq_password = '',
$rabbitmq_vhost = '/sensu',
$rabbitmq_vhost = 'sensu',
$rabbitmq_ssl_private_key = undef,
$rabbitmq_ssl_cert_chain = undef,
$redis_host = 'localhost',
Expand Down

0 comments on commit c1287ea

Please sign in to comment.