Skip to content

Commit

Permalink
fix(config.sls): ensure catalina_tmpdir created with correct permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny Smit authored and myii committed Apr 27, 2020
1 parent 7062834 commit 4b5387f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tomcat/config.sls
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ tomcat tomcat_conf:
- watch_in:
- service: tomcat package installed and service running
{% if tomcat.catalina_tmpdir|d('') %}
catalina tmpdir:
file.directory:
- name: {{ tomcat.catalina_tmpdir }}
- user: {{ tomcat.user }}
- group: {{ tomcat.group }}
- mode: '755'
- makedirs: True
- require_in:
- service: tomcat package installed and service running
{% endif %}
tomcat 100_server_xml:
file.accumulated:
- name: 100_server_xml
Expand Down

0 comments on commit 4b5387f

Please sign in to comment.