Add fileserver and ldapclient sls
This commit is contained in:
		
							parent
							
								
									1cf93b8f30
								
							
						
					
					
						commit
						b72b6c960d
					
				
					 8 changed files with 271 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								pillar/fileserver.sls
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								pillar/fileserver.sls
									
										
									
									
									
										Normal 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
									
								
							
							
						
						
									
										2
									
								
								pillar/ldapclient.sls
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,2 @@ | |||
| ldap_base: dc=gva,dc=local | ||||
| ldap_uris: ldap://172.16.3.3/ | ||||
|  | @ -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 %} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue