1
0
Fork 0
mirror of https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot synced 2024-11-22 03:52:37 +01:00

new_wikis_handler: Update puppet's apache path for special wikis

See T320890#8390951
This commit is contained in:
Amir Sarabadani 2022-11-13 19:20:35 +01:00
parent 4a8b3f5b43
commit de1420c278

View file

@ -217,7 +217,7 @@ def hostname_resolves(hostname):
def handle_special_wiki_apache(parts):
file_path = 'modules/mediawiki/manifests/web/prod_sites.pp'
file_path = 'hieradata/common/mediawiki.yaml'
apache_file = get_file_from_gerrit(
'operations/puppet/+/production/' + file_path)
url = '.'.join(parts)
@ -296,7 +296,7 @@ def handle_apache(special, parts):
add_text(' [x] Apache config (Not needed)')
return True
file_path = 'modules/mediawiki/manifests/web/prod_sites.pp'
file_path = 'hieradata/common/mediawiki.yaml'
apache_url = gerrit_path + \
'operations/puppet/+/production/' + file_path
if not handle_special_wiki_apache(parts):