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"],