summaryrefslogtreecommitdiffstats
path: root/vagrant
diff options
context:
space:
mode:
authorSachin Prabhu <sprabhu@redhat.com>2020-07-16 16:50:37 +0100
committerspuiuk <sachin.prabhu@gmail.com>2020-08-24 12:26:57 +0100
commit83076b8d3d2413048d414d2007d7c5979b9e7dc3 (patch)
tree88de0bfbfcb13e6973380d530d186dbb8a6b0455 /vagrant
parent79322afeaf34a5a8de02485f9dc19671d75ba657 (diff)
downloadsamba-integration-83076b8d3d2413048d414d2007d7c5979b9e7dc3.tar.gz
samba-integration-83076b8d3d2413048d414d2007d7c5979b9e7dc3.tar.xz
samba-integration-83076b8d3d2413048d414d2007d7c5979b9e7dc3.zip
Use variable samba_share in the log file created
Use the variable samba_share instead of building the name using gluster_cluster_volume variable. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Diffstat (limited to 'vagrant')
-rw-r--r--vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j22
1 files changed, 1 insertions, 1 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 32187a9..81aaba3 100644
--- a/vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j2
+++ b/vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j2
@@ -22,7 +22,7 @@ show add printer wizard = no
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:logfile = /var/log/samba/{{ samba_share }}.%M.log
glusterfs:loglevel = 7
path = /
read only = no