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 c848f65 commit e77444eCopy full SHA for e77444e
salt/hg/init.sls
@@ -59,23 +59,17 @@ hg-user:
59
- require:
60
- user: hg-user
61
62
-{% if grains["oscodename"] == "noble" %}
63
-/srv/hg/wsgi/python3.wsgi:
64
- file.managed:
65
- - source: salt://hg/files/hg/wsgi/python3.wsgi
66
- - user: hg
67
- - mode: "0755"
68
- - require:
69
- - file: /srv/hg/wsgi
70
-{% else %}
71
/srv/hg/wsgi/python.wsgi:
72
file.managed:
73
- - source: salt://hg/files/hg/wsgi/python.wsgi
74
- user: hg
75
- mode: "0755"
76
77
- file: /srv/hg/wsgi
78
-{% endif %}
+ {% if grains["oscodename"] == "noble" %}
+ - source: salt://hg/files/hg/wsgi/python3.wsgi
+ {% else %}
+ - source: salt://hg/files/hg/wsgi/python.wsgi
+ {% endif %}
79
80
/srv/hg/src:
81
file.recurse:
0 commit comments