Skip to content

Commit 9f047c3

Browse files
committed
Deletes guest user
1 parent 1ece0c0 commit 9f047c3

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Before this puppet module can be used, the following items must be configured on
6060
- Add users to rabbitmq
6161
- Install dashboard (optional)
6262

63-
If you just want to test sensu, start the provided Vagrant VM's which have all prerequisites preinstalled.
63+
To quickly try out sensu, spin up a test VM with Vagrant that already has these prerequisites installed.
6464

6565
vagrant up
6666
vagrant status
@@ -69,7 +69,7 @@ If you just want to test sensu, start the provided Vagrant VM's which have all p
6969
You can then access the api
7070

7171
curl http://admin:secret@localhost:4567/info
72-
72+
7373

7474
Navigate to `192.168.56.10:3000` to use the uchiwa dashboard
7575

@@ -81,7 +81,7 @@ Navigate to `192.168.56.10:15672` to manage rabbitmq
8181
username => sensu
8282
password => correct-horse-battery-staple
8383

84-
See the tests directory for examples on setting up prerequisits.
84+
See the [tests directory](https://github.com/sensu/sensu-puppet/tree/vagrant/tests) and [Vagrantfile](https://github.com/sensu/sensu-puppet/blob/vagrant/Vagrantfile) for examples on setting up the prerequisites.
8585

8686

8787
## Basic example

tests/rabbitmq.pp

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
class {'::rabbitmq':
2-
# Caution: By default the guest user can only access the web portal from localhost.
3-
# An additional sensu user will be created. See tests/rabbitmq.sh
4-
default_user => 'guest',
5-
default_pass => 'guest',
2+
# By default, rabbitmq creates a user guest:guest, however they can only authenticate from localhost
3+
# Delete the guest user since a sensu user will be created in the tests/rabbitmq.sh script
4+
delete_guest_user => true,
65
}

0 commit comments

Comments
 (0)