summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/gdeploy_configs/nfs_ganesha_client_configuration.jinja
blob: db0c2a67e4966b5b5109f2403e17de329478c3b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[hosts]{% for server in servers %}
{{server}}{% endfor %}

[yum1]
action=install
gpgcheck=yes
packages=nfs-utils

#Enabling firewall ports
[firewalld]
action=add
ports=662/tcp,662/udp,32803/tcp,32769/udp
permanent=true
zone=public

[shell1]
action=execute
command=sed -i '/STATD_PORT/s/^#//' /etc/sysconfig/nfs

[shell2]
action=execute
command=sed -i '/LOCKD_TCPPORT/s/^#//' /etc/sysconfig/nfs

[shell3]
action=execute
command=sed -i '/LOCKD_UDPPORT/s/^#//' /etc/sysconfig/nfs

[service]
action=restart
service=nfs-config,rpc-statd,nfslock