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.
file.managed
1 parent 16fa5c4 commit 103da72Copy full SHA for 103da72
salt/hg/init.sls
@@ -79,6 +79,24 @@ hg-user:
79
- file: /srv/hg/wsgi
80
{% endif %}
81
82
+{% if grains["oscodename"] == "noble" %}
83
+/srv/hg/wsgi/python.wsgi:
84
+ file.managed:
85
+ - source: salt://hg/files/hg/wsgi/python3.wsgi
86
+ - user: hg
87
+ - mode: "0755"
88
+ - require:
89
+ - file: /srv/hg/wsgi
90
+{% else %}
91
92
93
+ - source: salt://hg/files/hg/wsgi/python.wsgi
94
95
96
97
98
+{% endif %}
99
+
100
/srv/hg/src:
101
file.recurse:
102
- source: salt://hg/files/hg/src
0 commit comments