Fixed documentation and example
This commit is contained in:
parent
dc104ec41e
commit
3388b88652
2 changed files with 17 additions and 17 deletions
24
README.rst
24
README.rst
|
@ -1,5 +1,5 @@
|
|||
======
|
||||
fabio
|
||||
traefik
|
||||
======
|
||||
|
||||
.. note::
|
||||
|
@ -13,36 +13,36 @@ Available states
|
|||
.. contents::
|
||||
:local:
|
||||
|
||||
``fabio``
|
||||
``traefik``
|
||||
------------
|
||||
|
||||
Installs and configures the fabio service.
|
||||
Installs and configures the traefik service.
|
||||
|
||||
``fabio.install``
|
||||
``traefik.install``
|
||||
------------------
|
||||
|
||||
Downloads and installs the fabio binary file.
|
||||
Downloads and installs the traefik binary file.
|
||||
|
||||
``fabio.config``
|
||||
``traefik.config``
|
||||
-----------------
|
||||
|
||||
Provision the fabio configuration files and sources.
|
||||
Provision the traefik configuration files and sources.
|
||||
|
||||
``fabio.service``
|
||||
``traefik.service``
|
||||
------------------
|
||||
|
||||
Adds the fabio service startup configuration or script to an operating system.
|
||||
Adds the traefik 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
|
||||
|
||||
fabio:
|
||||
traefik:
|
||||
service: True
|
||||
|
||||
``fabio-template``
|
||||
``traefik-template``
|
||||
-------------------
|
||||
|
||||
Installs and configures fabio template.
|
||||
Installs and configures traefik template.
|
||||
|
||||
.. vim: fenc=utf-8 spell spl=en cc=100 tw=99 fo=want sts=4 sw=4 et
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
fabio:
|
||||
# Start Fabio
|
||||
traefik:
|
||||
# Start traefik
|
||||
service: True
|
||||
|
||||
# Set user and group for Fabio config files and running service
|
||||
user: fabio
|
||||
group: fabio
|
||||
# Set user and group for traefik config files and running service
|
||||
user: traefik
|
||||
group: traefik
|
||||
|
||||
config:
|
||||
server: True
|
||||
|
|
Loading…
Reference in a new issue