Skip to content

Instantly share code, notes, and snippets.

@jbouse
Last active August 29, 2015 14:18
Show Gist options
  • Save jbouse/993cdf4aaef926e45b16 to your computer and use it in GitHub Desktop.
Save jbouse/993cdf4aaef926e45b16 to your computer and use it in GitHub Desktop.
{% from "map.jinja" import map with context %}
jdk:
cacert: {{ map.cacert }}
{% set map = salt['grains.filter_by']({
'jdk7': {
'cacert': 'blah',
},
'jdk8': {
'cacert': 'neep',
},
}, grain='jdk_version', default='jdk7') %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment