Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Created August 14, 2015 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3936079c83390b447718 to your computer and use it in GitHub Desktop.
Save anonymous/3936079c83390b447718 to your computer and use it in GitHub Desktop.
Ensure instance1 is configured:
file.managed:
- name /var/local/instance1/context.xml
- source: salt://instance.xml.tmpl
- template: jinja
- context:
var1:
name: portal
url: http://db2.server.com:50000/PORTAL
var2:
name: load
url: http://db2.server.com:50000/LOAD
Ensure instance2 is configured:
file.managed:
- name /var/local/instance2/context.xml
- source: salt://instance.xml.tmpl
- template: jinja
- context:
var1:
name: portal
url: http://db2.server.com:50000/PORTAL
var2:
name: other
url: http://db2.server.com:50000/OTHER
var3:
name: unload
url: http://db2.server.com:50000/UNLOAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment