samba: Fixed "escape sequence" error from shares.conf creation.
This commit is contained in:
parent
b9e5860bb4
commit
79c5622bfe
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ class samba::server($names=[$::hostname], $auth="tdbsam",
|
||||||
}
|
}
|
||||||
|
|
||||||
exec { "generate-samba-shares-conf":
|
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",
|
path => "/bin:/usr/bin:/sbin:/usr/sbin",
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
notify => Service["smb"],
|
notify => Service["smb"],
|
||||||
|
|
Loading…
Add table
Reference in a new issue