File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,36 +79,6 @@ hg-user:
7979 - file: /srv/hg/wsgi
8080{% endif %}
8181
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- /srv/hg/wsgi/python.wsgi :
92- file.managed :
93- - source: salt://hg/files/hg/wsgi/python.wsgi
94- - user: hg
95- - mode: " 0755"
96- - require:
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-
11282/srv/hg/src :
11383 file.recurse :
11484 - source: salt://hg/files/hg/src
@@ -211,7 +181,7 @@ apache2:
211181 pkg.installed :
212182 - pkgs:
213183 - apache2
214- - libapache2-mod-wsgi {% if grains[" oscodename" ] == [ " noble" ] %}-py3 {% endif %}
184+ - libapache2-mod-wsgi {% if grains[" oscodename" ] == " noble" %}-py3 {% endif %}
215185 service.running :
216186 - enable: True
217187 - reload: True
You can’t perform that action at this time.
0 commit comments