Created
November 15, 2016 13:32
-
-
Save anonymous/9ff6c0808af1fd5fc0210fa1fd164d58 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HOW I CALL THE STATE: | |
salt 'pat-dev-1479208110' state.sls pat.tibco.ems pillar='{"tibco": {"db_user":"bbb", "db_pass":"vvv","db_endpoint":"ccc"} }' | |
# STATE THAT EXTRACTS AN ARCHIVE AND SHOULD OVERWRITE the TOKEN.properties | |
extract_eip: | |
archive.extracted: | |
- name: /x | |
- source: salt://files/EIP2_RHEL.tar.gz | |
- archive_format: tar | |
- tar_options: v | |
- user: soa | |
- group: soa | |
- if_missing: /x/EIP2_RS_TIBCO_install_config | |
tibco_properties_file: | |
file.managed: | |
- name: /x/EIP2_RS_TIBCO_install_config/properties/TOKEN.properties | |
- source: salt://templates/TOKEN.properties.j2 | |
- template: jinja | |
- user: soa | |
- group: soa | |
- mode: 644 | |
- require: | |
- extract_eip | |
# ERRROR ============================================ | |
Unable to manage file: Jinja variable 'salt.utils.context.NamespacedDictWrapper object' has no attribute 'tibco' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment