forked from saltstack-formulas/samba-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpillar.example
49 lines (47 loc) · 1.18 KB
/
pillar.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
samba:
conf:
render:
section_order: ['global', 'homes', 'printers', 'sharename', 'user1share']
sections:
global:
workgroup: MYGROUP
server string: "Samba Server"
printcap name: /etc/printcap
load printers: yes
log file: "/var/log/samba/%m.log"
max log size: 50
security: user
dns proxy: no
homes:
comment: "Home Directories"
browseable: no
writeable: yes
printers:
comment: "All Printers"
path: /var/spool/samba
browseable: no
guest ok: no
writeable: no
printable: yes
sharename:
comment: "This is a shared directory"
browseable: yes
writeable: yes
valid users: '@sharegroup'
force group: sharegroup
create mask: '0660'
directory mask: '2770'
user1share:
comment: "user1 samba share"
path: /home/user1
valid users: user1
create mode: '0660'
directory mode: '0770'
public: no
writable: yes
printable: no
users:
user1:
password: user1sambapassword
user2:
password: user2sambapassword