From 79c5622bfe1622a0aeb3fb267a2a9a49fdd32c61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Fri, 14 Jun 2013 13:50:27 +0300 Subject: [PATCH] samba: Fixed "escape sequence" error from shares.conf creation. --- samba/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samba/manifests/init.pp b/samba/manifests/init.pp index ab1b7b3..0a1f868 100644 --- a/samba/manifests/init.pp +++ b/samba/manifests/init.pp @@ -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"],