An open API service indexing awesome lists of open source software.

https://github.com/saltstack-formulas/mounts-formula

SaltStack formula for managing mounts
https://github.com/saltstack-formulas/mounts-formula

Last synced: 4 months ago
JSON representation

SaltStack formula for managing mounts

Awesome Lists containing this project

README

          

======
mounts
======

.. note::

See the full `Salt Formulas installation and usage instructions `_.

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

.. contents::
:local:

``mounts``
----------

Mounts a given device/location

Using the ``format`` option will format the specified device as ext4 if the device is not already formatted. At present it uses a stateful bash script to do this due to a `bug `_ in ``blockdev.formatted`` which will be fixed in Salt Carbon.

Testing
=======

Testing is done with kitchen-salt

``kitchen converge``
--------------------

Runs the formula

``kitchen verify``
------------------

Runs serverspec tests on the actual instance

``kitchen test``
----------------

Builds and runs test from scratch

``kitchen login``
-----------------

Gives you ssh to the vagrant machine for manual testing