Mount any type of mountable filesystem with the mounted function:
/mnt/sdb:
mount.mounted:
- device: /dev/sdb1
- fstype: ext4
- mkmnt: True
- opts:
- defaults
/srv/bigdata:
mount.mounted:
- device: UUID=066e0200-2867-4ebe-b9e6-f30026ca2314
- fstype: xfs
- opts: nobootwait,noatime,nodiratime,nobarrier,logbufs=8
- dump: 0
- pass_num: 2
- persist: True
- mkmnt: True
The mounted watcher, called to invoke the watch command.
Verify that a device is mounted
Activates a swap device
/root/swapfile:
mount.swap
Note
swap does not currently support LABEL
New in version 0.17.0.
Verify that a device is not mounted
Docs for previous releases are available on salt.rtfd.org.
Latest Salt release: 2014.7.2
22.27.64. salt.states.mongodb_user
22.27.66. salt.states.mysql_database
Upcoming SaltStack events, webinars and local meet ups and user groups.