|
|
@@ -2,8 +2,9 @@
|
|
|
A small testing framework is provided with this role using [Vagrant](https://vagrantup.com/).
|
|
|
|
|
|
To test this role locally, once you've set up Vagrant, simply `cd` to `tests` and run `vagrant up [ubuntu15|centos7]`, after which you can visit the following URLs in your browser for the associated deployments:
|
|
|
-- Ubuntu 15.04: `http://localhost:3000`
|
|
|
-- CentOS 7: `http://localhost:3001`
|
|
|
+
|
|
|
+- Ubuntu 15.04: `http://localhost:3000`
|
|
|
+- CentOS 7: `http://localhost:3001`
|
|
|
|
|
|
_Note: To test SmartOS, please simply roll out a base64 zone_
|
|
|
|
|
|
@@ -15,8 +16,9 @@ As support for other operating systems/distributions is written, they will be ad
|
|
|
## Caveats
|
|
|
### Failing handlers
|
|
|
It is expected that the following two handlers, triggered at the end of the test run will fail:
|
|
|
-- `restart sensu-server service`
|
|
|
-- `restart sensu-api service`
|
|
|
+
|
|
|
+- `restart sensu-server service`
|
|
|
+- `restart sensu-api service`
|
|
|
|
|
|
Both these handlers use the `delegate_to` directive, which does not play nice with Vagrant.
|
|
|
This __is__ expected to work in real deployments.
|