We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 103da72 commit 898e10aCopy full SHA for 898e10a
salt/hg/init.sls
@@ -97,6 +97,18 @@ hg-user:
97
- file: /srv/hg/wsgi
98
{% endif %}
99
100
+/srv/hg/wsgi/python.wsgi:
101
+ file.managed:
102
+ - user: hg
103
+ - mode: "0755"
104
+ - require:
105
+ - file: /srv/hg/wsgi
106
+ {% if grains["oscodename"] == "noble" %}
107
+ - source: salt://hg/files/hg/wsgi/python3.wsgi
108
+ {% else %}
109
+ - source: salt://hg/files/hg/wsgi/python.wsgi
110
+ {% endif %}
111
+
112
/srv/hg/src:
113
file.recurse:
114
- source: salt://hg/files/hg/src
0 commit comments