File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -3,4 +3,9 @@ from mercurial import encoding
3
3
4
4
CONFIG = '/srv/hg/repos.conf'
5
5
encoding .encoding = 'utf-8'
6
+ {% if grains ["oscodename" ] == "noble" % }
6
7
application = hgwebdir (CONFIG .encode ())
8
+ {% else % }
9
+ application = hgwebdir (CONFIG )
10
+ {% endif % }
11
+
Original file line number Diff line number Diff line change 2
2
pkg.installed :
3
3
- pkgs:
4
4
- mercurial
5
+ {% if grains[" oscodename" ] == [" noble" ] %}
5
6
- python3-pygments
7
+ {% endif %}
6
8
7
9
svn-deps :
8
10
pkg.installed :
@@ -159,7 +161,7 @@ apache2:
159
161
pkg.installed :
160
162
- pkgs:
161
163
- apache2
162
- - libapache2-mod-wsgi-py3
164
+ - libapache2-mod-wsgi {% if grains[ " oscodename " ] == [ " noble " ] %} -py3 {% endif %}
163
165
service.running :
164
166
- enable: True
165
167
- reload: True
You can’t perform that action at this time.
0 commit comments