mirror of
https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot
synced 2024-11-25 13:32:38 +01:00
new_wikis_handler: Update puppet's apache path for special wikis
See T320890#8390951
This commit is contained in:
parent
4a8b3f5b43
commit
de1420c278
1 changed files with 2 additions and 2 deletions
|
@ -217,7 +217,7 @@ def hostname_resolves(hostname):
|
||||||
|
|
||||||
|
|
||||||
def handle_special_wiki_apache(parts):
|
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(
|
apache_file = get_file_from_gerrit(
|
||||||
'operations/puppet/+/production/' + file_path)
|
'operations/puppet/+/production/' + file_path)
|
||||||
url = '.'.join(parts)
|
url = '.'.join(parts)
|
||||||
|
@ -296,7 +296,7 @@ def handle_apache(special, parts):
|
||||||
add_text(' [x] Apache config (Not needed)')
|
add_text(' [x] Apache config (Not needed)')
|
||||||
return True
|
return True
|
||||||
|
|
||||||
file_path = 'modules/mediawiki/manifests/web/prod_sites.pp'
|
file_path = 'hieradata/common/mediawiki.yaml'
|
||||||
apache_url = gerrit_path + \
|
apache_url = gerrit_path + \
|
||||||
'operations/puppet/+/production/' + file_path
|
'operations/puppet/+/production/' + file_path
|
||||||
if not handle_special_wiki_apache(parts):
|
if not handle_special_wiki_apache(parts):
|
||||||
|
|
Loading…
Reference in a new issue