diff --git a/docs/webserver.md b/docs/webserver.md index 6f5285a4b..16022ac7d 100644 --- a/docs/webserver.md +++ b/docs/webserver.md @@ -19,6 +19,7 @@ These domains are all hosted on the webserver. * downloads.theforeman.org * stagingdeb.theforeman.org * yum.theforeman.org +* stagingyum.theforeman.org * rsync.theforeman.org ### Fastly CDN @@ -29,6 +30,7 @@ A Fastly CDN exists that sits in front of: * downloads.theforeman.org * stagingdeb.theforeman.org * yum.theforeman.org +* stagingyum.theforeman.org For these, the webserver acts as a backend while the content is served from the Fastly CDN to users. diff --git a/puppet/modules/web/files/stagingyum/HEADER.html b/puppet/modules/web/files/stagingyum/HEADER.html new file mode 100644 index 000000000..8ee1224e4 --- /dev/null +++ b/puppet/modules/web/files/stagingyum/HEADER.html @@ -0,0 +1,17 @@ +

stagingyum.theforeman.org

+ +

Staging Repositories for Foreman releases

+ +

Accessing this repo

+ +This repository is available over HTTP, HTTPS and rsync: + + + +

Support

+ +

These are staging repositories used for testing purposes only. They are NOT supported.

diff --git a/puppet/modules/web/files/stagingyum/robots.txt b/puppet/modules/web/files/stagingyum/robots.txt new file mode 100644 index 000000000..b4bea10f4 --- /dev/null +++ b/puppet/modules/web/files/stagingyum/robots.txt @@ -0,0 +1,6 @@ +User-agent: * +Disallow: /foreman/ +Disallow: /plugins/ +Disallow: /katello/ +Disallow: /client/ +Disallow: /pulpcore/ diff --git a/puppet/modules/web/manifests/init.pp b/puppet/modules/web/manifests/init.pp index 56d7e4ace..1ca76708b 100644 --- a/puppet/modules/web/manifests/init.pp +++ b/puppet/modules/web/manifests/init.pp @@ -30,6 +30,7 @@ 'stagingdeb.theforeman.org', 'www.theforeman.org', 'yum.theforeman.org', + 'stagingyum.theforeman.org', ], webroot_paths => [ '/var/www/vhosts/web/htdocs', @@ -40,6 +41,7 @@ '/var/www/vhosts/stagingdeb/htdocs', '/var/www/vhosts/web/htdocs', '/var/www/vhosts/yum/htdocs', + '/var/www/vhosts/stagingyum/htdocs', ], } }