Vault Salt Formula
Find a file
2018-05-16 08:18:12 -04:00
test/integration Merge some tests to make travis faster (less permutations) 2017-04-28 15:03:35 -05:00
vault Fixing config.hcl formatting-5 2018-05-15 02:45:25 -04:00
.gitignore Add support for tests 2017-04-25 15:05:41 -05:00
.kitchen.yml Updated test kitchen 2018-05-15 13:53:27 -04:00
.travis.yml Add support for tests 2017-04-25 15:05:41 -05:00
Gemfile Add support for tests 2017-04-25 15:05:41 -05:00
Gemfile.lock Add support for tests 2017-04-25 15:05:41 -05:00
LICENSE Add license file 2017-08-17 09:52:25 -05:00
pillar.example Updated documentation and example 2018-05-15 13:51:39 -04:00
README.rst Updated documentation and example 2018-05-15 13:51:39 -04:00

======
Vault
======

.. image:: https://travis-ci.org/saltstack-formulas/vault-formula.svg?branch=master

Formulas for working with `Vault <http://www.vaultproject.io>`_

Available states
================

.. contents::
    :local:

``vault``
----------

Installs and configures the Vault service.


``vault.install``
-----------------

Downloads and installs the Vault binary file.

``vault.config``
----------------

Provision the Vault configuration files and sources.

``vault.service``
-----------------

Adds the Vault service startup configuration or script to an operating system.

To start the service during Salt run and enable it at boot time, you need to set the following Pillar:

.. code:: yaml

    vault:
      service: true


Testing
=======

Testing is done with `Test Kitchen <http://kitchen.ci/>`_
for machine setup and `inspec <https://github.com/chef/inspec/>`_
for integration tests.

Requirements
------------

* Ruby
* Docker

::

    gem install bundler
    bundle install
    bundle exec kitchen test all