Skip to content

Commit

Permalink
Merge branch 'main' into salt-server-list
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee authored Aug 1, 2024
2 parents 1417520 + 898e10a commit 1b4534f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions salt/hg/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,18 @@ hg-user:
- file: /srv/hg/wsgi
{% endif %}

/srv/hg/wsgi/python.wsgi:
file.managed:
- user: hg
- mode: "0755"
- require:
- file: /srv/hg/wsgi
{% if grains["oscodename"] == "noble" %}
- source: salt://hg/files/hg/wsgi/python3.wsgi
{% else %}
- source: salt://hg/files/hg/wsgi/python.wsgi
{% endif %}

/srv/hg/src:
file.recurse:
- source: salt://hg/files/hg/src
Expand Down

0 comments on commit 1b4534f

Please sign in to comment.