saltstack-formulas / mounts-formula

SaltStack formula for managing mounts

Home Page:http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mounts

Available states

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

About

SaltStack formula for managing mounts

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html


Languages

Language:SaltStack 52.8%Language:Ruby 24.3%Language:Shell 22.9%