The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

test-consul - Run a Consul server for testing

SYNOPSIS

    # run a simple server (not unlike 'consul agent -dev')
    $ test-consul

DESCRIPTION

consul-test runs a test consul instance on your local computer, that you can then manipulate with the normal consul program. Useful for trying things out!

OPTIONS

port

The TCP port for HTTP API endpoint. By default this is 8500, which is what the standard consul client program expects.

name

Set the node name. If not supplied, a random one will be generated.

datacenter

Set the datacenter name. If not supplied, a random one will be generated.

SEE ALSO

Test::Consul