Skip to content

mcleanholmes/mounts-formula

 
 

Repository files navigation

mounts

Available states

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

Releases

No releases published

Packages

No packages published

Languages

  • SaltStack 50.3%
  • Ruby 25.6%
  • Shell 24.1%