Make nfs mount a variable and set it to use rw on wiki instances.

This commit is contained in:
Kevin Fenzi 2014-04-24 19:21:59 +00:00
parent 9216d087ea
commit 0982cd46a9
4 changed files with 8 additions and 1 deletions

View file

@ -48,3 +48,6 @@ nrpe_procs_crit: 200
# env is staging or production, we default it to production here.
env: production
# nfs mount options, override at the group/host level
nfs_mount_opts: "ro,hard,bg,intr,noatime,nodev,nosuid"

View file

@ -23,3 +23,5 @@ fedmsg_certs:
- service: mediawiki
owner: root
group: apache
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid"

View file

@ -23,3 +23,5 @@ fedmsg_certs:
- service: mediawiki
owner: root
group: apache
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid"

View file

@ -28,7 +28,7 @@
name=/mnt/{{ mnt_dir }}
src=vtap-fedora-nfs01.storage.phx2.redhat.com:/vol/{{ nfs_src_dir }}
fstype=nfs
opts=ro,hard,bg,intr,noatime,nodev,nosuid
opts={{nfs_mount_opts}}
passno=0
dump=0
state=mounted