Vault Salt Formula
Find a file
Eric Renfro e83b34c806 Fix systemd service unit
EnvironmentFile was statically set when it should've been pointing to
/etc/default/vault
for Debian and
/etc/sysconfig/vault
for CentOS/EL.
2018-05-16 14:50:13 -04:00
test/integration Merge some tests to make travis faster (less permutations) 2017-04-28 15:03:35 -05:00
vault Fix systemd service unit 2018-05-16 14:50:13 -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