mirror of
				https://github.com/saltstack-formulas/users-formula.git
				synced 2025-11-04 06:03:38 +01:00 
			
		
		
		
	Merge pull request #8 from ChronoPositron/group-id-undefined-var
Fix Undefined jinja variable error with Salt 0.17.1
This commit is contained in:
		
						commit
						260388cd20
					
				@ -25,7 +25,9 @@ include:
 | 
			
		||||
      - group: {{ name }}
 | 
			
		||||
  group.present:
 | 
			
		||||
    - name: {{ name }}
 | 
			
		||||
    {% if 'uid' in user -%}
 | 
			
		||||
    - gid: {{ user['uid'] }}
 | 
			
		||||
    {% endif %}
 | 
			
		||||
  user.present:
 | 
			
		||||
    - name: {{ name }}
 | 
			
		||||
    - home: {{ home }}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user