samba: Fixed "escape sequence" error from shares.conf creation.

This commit is contained in:
Timo Mkinen 2013-06-14 13:50:27 +03:00
parent b9e5860bb4
commit 79c5622bfe

View file

@ -134,7 +134,7 @@ class samba::server($names=[$::hostname], $auth="tdbsam",
}
exec { "generate-samba-shares-conf":
command => "find /etc/samba/smb.conf.d/share-*.conf -exec echo 'include = {}' \; > /etc/samba/smb.conf.d/shares.conf",
command => "find /etc/samba/smb.conf.d/share-*.conf -exec echo 'include = {}' \\; > /etc/samba/smb.conf.d/shares.conf",
path => "/bin:/usr/bin:/sbin:/usr/sbin",
refreshonly => true,
notify => Service["smb"],