summaryrefslogtreecommitdiffstats
path: root/vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j2')
-rw-r--r--vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j2 b/vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j2
index 74df1ad..32187a9 100644
--- a/vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j2
+++ b/vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j2
@@ -17,3 +17,12 @@ printcap name = /dev/null
disable spoolss = yes
printing = bsd
show add printer wizard = no
+
+[{{ samba_share }}]
+comment = For samba share of volume {{ gluster_cluster_volume }}
+vfs objects = acl_xattr glusterfs
+glusterfs:volume = {{ gluster_cluster_volume }}
+glusterfs:logfile = /var/log/samba/glusterfs-{{ gluster_cluster_volume }}.%M.log
+glusterfs:loglevel = 7
+path = /
+read only = no