Fix keepalived.jinja template
This should be a list (of email addresses) and the template expects a dictionary. If you think it should be a dictionary, please update the pillar example to reflect that.
This commit is contained in:
		
							parent
							
								
									772c5a5b5b
								
							
						
					
					
						commit
						f0d9b9027b
					
				| @ -12,7 +12,7 @@ | ||||
| global_defs { | ||||
|     notification_email { | ||||
| {%- if 'notification_emails' in salt['pillar.get']('keepalived:global_defs')  %} | ||||
|   {%- for email in salt['pillar.get']('keepalived:global_defs:notification_emails', {}).iteritems() %} | ||||
|   {%- for email in salt['pillar.get']('keepalived:global_defs:notification_emails', []) %} | ||||
|         {{ email }} | ||||
|   {%- endfor %} | ||||
| {%- endif %} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Frits
						Frits