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
- Host: GitHub
- URL: https://github.com/saltstack-formulas/mounts-formula
- Owner: saltstack-formulas
- Created: 2016-07-22T00:33:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-10-27T15:13:39.000Z (over 4 years ago)
- Last Synced: 2025-05-02T09:48:49.842Z (10 months ago)
- Language: SaltStack
- Homepage: http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
- Size: 4.88 KB
- Stars: 6
- Watchers: 37
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
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