-
-
Save nafg/22f14e3329127c2f12fe to your computer and use it in GitHub Desktop.
Salt error
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
:03:49]---------- | |
[21:03:49] ID: app.conf | |
[21:03:49] Function: file.managed | |
[21:03:49] Name: /home/jj-asm-play/app.conf | |
[21:03:49] Result: False | |
[21:03:49] Comment: Unable to manage file: Jinja variable 'dict object' has no attribute 'tenantresponse' | |
[21:03:49] Started: 17:03:47.850293 | |
[21:03:49] Duration: 19.713 ms | |
[21:03:49] Changes: |
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
include "application" | |
jjasm { | |
db { | |
url: "jdbc:mysql://localhost/{{ pillar.database.db }}?zeroDateTimeBehavior=convertToNull" | |
user: "{{ pillar.database.user }}" | |
password: "{{ pillar.database.pass }}" | |
} | |
baseurl: "http://localhost:9000" | |
script: "/var/www/app/getpdf.js" | |
imageroot: "{{ pillar.syncthingpath }}" | |
imagePath.tenantResponse: "{{ pillar.tenantresponse.imagepath}}" | |
} |
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
productionMode: "no" | |
syncthingpath: /var/syncthing/ | |
tenantresponse.imagepath: FED |
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
base: | |
'*': | |
- main | |
- emailer | |
- play | |
'vagrant.vb': | |
- dev | |
'production': | |
- prod | |
'dev': | |
- dev | |
'qa': | |
- dev | |
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
# ... | |
app.conf: | |
file.managed: | |
- name: /home/jj-asm-play/app.conf | |
- source: salt://provision/files/app.conf | |
- template: jinja | |
- user: {{ pillar.playservice.username }} | |
- group: {{ pillar.playservice.username }} | |
# ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment