From c1287eaf04a14727ed78256ed2be781447a022cb Mon Sep 17 00:00:00 2001 From: Matt Dainty Date: Fri, 1 Aug 2014 13:22:25 +0100 Subject: [PATCH] Make the rabbitmq_vhost defaults match the docs Documentation and tests were updated, but the actual code wasn't. Make the code match the documentation. --- lib/puppet/type/sensu_rabbitmq_config.rb | 2 +- manifests/init.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/puppet/type/sensu_rabbitmq_config.rb b/lib/puppet/type/sensu_rabbitmq_config.rb index 3458e17413..189eb8b933 100644 --- a/lib/puppet/type/sensu_rabbitmq_config.rb +++ b/lib/puppet/type/sensu_rabbitmq_config.rb @@ -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 diff --git a/manifests/init.pp b/manifests/init.pp index 31bb64bc69..05b3c321d5 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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',