Add fileserver and ldapclient sls

This commit is contained in:
Jan Dittberner 2016-09-24 21:51:59 +02:00
parent 1cf93b8f30
commit b72b6c960d
8 changed files with 271 additions and 2 deletions

4
pillar/fileserver.sls Normal file
View file

@ -0,0 +1,4 @@
ldap_auth: True
sftp_group: sftponly
sftp_chroot: /srv/sftp
ssh_customer_group: sshuser

2
pillar/ldapclient.sls Normal file
View file

@ -0,0 +1,2 @@
ldap_base: dc=gva,dc=local
ldap_uris: ldap://172.16.3.3/

View file

@ -5,4 +5,9 @@ base:
'roles:gnuviechadmin.{{ role }}':
- match: grain
- gnuviechadmin.{{ role }}
{% endfor %}
{% endfor %}
{% for role in ('fileserver', 'ldapclient') %}
'roles:{{ role }}':
- match: grain
- {{ role }}
{% endfor %}