Skip to content

Commit

Permalink
prepare downloads role for migration (#279)
Browse files Browse the repository at this point in the history
1) update pattern for downloads role
2) don't create _check file for HTTP health check, so that new host will not join loadbalancer
  • Loading branch information
ewdurbin committed Aug 5, 2022
1 parent 4a4580b commit 902e8b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion pillar/prod/roles.sls
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ roles:
purpose: "Builds and serves CPython's documentation"
contact: "mdk"
downloads:
pattern: "downloads.nyc1.psf.io"
pattern: "downloads*.nyc1.psf.io"
purpose: "Serves python.org downloads"
contact: "CPython Release Managers"
hg:
Expand Down
9 changes: 0 additions & 9 deletions salt/downloads/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ include:
- file: /etc/nginx/fastly_params


/srv/www.python.org/_check:
file.managed:
- user: root
- group: downloads
- mode: "0644"
- makedirs: True
- dir_mode: "0775"


/etc/consul.d/service-downloads.json:
file.managed:
- source: salt://consul/etc/service.jinja
Expand Down

0 comments on commit 902e8b9

Please sign in to comment.