Add documentation and files related to initial host setup
[csit.git] / resources / tools / testbed-setup / playbooks / files / salt / srv / salt / ckoester / nfs-server / configure.sls
1 /nfs:
2   file.directory:
3     - user: root
4     - group: root
5     - mode: 755
6
7 /nfs/scratch:
8   file.directory:
9     - user: root
10     - group: root
11     - mode: 1777
12
13 /nfs/ro:
14   file.directory:
15     - user: virl
16     - group: virl
17     - mode: 755
18
19 /etc/exports:
20   file.managed:
21     - mode: 644
22     - template: jinja
23     - source: "salt://ckoester/nfs-server/files/exports"
24
25 nfs_server_running:
26   service.running:
27     - name: nfs-kernel-server
28
29 update_exports:
30   cmd.run:
31     - name: exportfs -ra

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.