2015-10-07 14:18:22 -04:00
|
|
|
======
|
|
|
|
consul
|
|
|
|
======
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
See the full `Salt Formulas installation and usage instructions
|
|
|
|
<http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_.
|
|
|
|
|
|
|
|
Available states
|
|
|
|
================
|
|
|
|
|
|
|
|
.. contents::
|
|
|
|
:local:
|
|
|
|
|
|
|
|
``consul``
|
|
|
|
------------
|
|
|
|
|
|
|
|
Installs and configures the Consul service.
|
|
|
|
|
2016-10-24 06:43:23 -04:00
|
|
|
``consul.install``
|
|
|
|
------------------
|
|
|
|
|
|
|
|
Downloads and installs the Consul binary file.
|
|
|
|
|
|
|
|
``consul.config``
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
Provision the Consul configuration files and sources.
|
|
|
|
|
|
|
|
``consul.service``
|
|
|
|
------------------
|
|
|
|
|
|
|
|
Adds the Consul service startup configuration or script to an operating system.
|
|
|
|
|
|
|
|
To start a service during Salt run and enable it at boot time, you need to set following Pillar:
|
|
|
|
|
|
|
|
.. code:: yaml
|
|
|
|
|
|
|
|
consul:
|
|
|
|
service: True
|
|
|
|
|
2016-04-22 08:42:03 -04:00
|
|
|
``consul-template``
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
Installs and configures Consul template.
|
2016-10-24 06:43:23 -04:00
|
|
|
|
|
|
|
.. vim: fenc=utf-8 spell spl=en cc=100 tw=99 fo=want sts=4 sw=4 et
|