File tree Expand file tree Collapse file tree 1 file changed +1
-31
lines changed Expand file tree Collapse file tree 1 file changed +1
-31
lines changed Original file line number Diff line number Diff line change @@ -79,36 +79,6 @@ hg-user:
79
79
- file: /srv/hg/wsgi
80
80
{% endif %}
81
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
- /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
-
112
82
/srv/hg/src :
113
83
file.recurse :
114
84
- source: salt://hg/files/hg/src
@@ -211,7 +181,7 @@ apache2:
211
181
pkg.installed :
212
182
- pkgs:
213
183
- apache2
214
- - libapache2-mod-wsgi {% if grains[" oscodename" ] == [ " noble" ] %}-py3 {% endif %}
184
+ - libapache2-mod-wsgi {% if grains[" oscodename" ] == " noble" %}-py3 {% endif %}
215
185
service.running :
216
186
- enable: True
217
187
- reload: True
You can’t perform that action at this time.
0 commit comments