Quick-Tip: Mount an NFS Share with SaltStack

It isn’t made clear in Salt’s documentation, but I discovered a few weeks ago that Salt can easily mount NFS shares using the built-in mount module. The important thing to keep in mind is to specify nfs as the fstype argument. For example, the following state will mount a share called nfs_share_1 which is being served by file-server-1.example.com to the local mount-point /nfs: