Consul Salt Formula
Find a file
Charles McLaughlin 7f71883d09 Download URL configurable via pillar
I ran into this problem where the formula can't download and install
Consul:

https://github.com/saltstack/salt/issues/38730

As a work around, I'm making the download URL configurable. Not sure if
many other people will find this useful, so if you don't want to merge
it that's fine. For me it's only a temporary fix until I can upgrade
Salt.
2017-02-28 09:30:25 -08:00
consul Download URL configurable via pillar 2017-02-28 09:30:25 -08:00
consul-template Providing for upstart in consul-template service (#10) 2016-09-02 10:26:58 +02:00
LICENSE Initial commit 2015-10-07 21:18:22 +03:00
pillar.example Enable Consul service to start at boot time 2016-10-24 13:45:20 +03:00
README.rst Enable Consul service to start at boot time 2016-10-24 13:45:20 +03: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.

``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

``consul-template``
-------------------

Installs and configures Consul template.

.. vim: fenc=utf-8 spell spl=en cc=100 tw=99 fo=want sts=4 sw=4 et