Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop debugs #2092

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion puppet/Puppetfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
moduledir 'external_modules'

mod 'citrin/htpasswd', '1.0.2'
mod 'claranet/timezone', '2.0.1'
mod 'puppet/archive', '7.1.0'
mod 'puppet/augeasproviders_core', '4.1.0'
Expand Down
54 changes: 0 additions & 54 deletions puppet/modules/awstats/manifests/init.pp

This file was deleted.

33 changes: 0 additions & 33 deletions puppet/modules/awstats/manifests/vhost.pp

This file was deleted.

11 changes: 0 additions & 11 deletions puppet/modules/profiles/manifests/web.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,14 @@
# @param stable
# Latest release that users expect
#
# @param debugs_htpasswds
# Which htpasswds to create for the debug vhost
#
# @param https
# Whether to enable HTTPS. This is typically wanted but can only be enabled
# in a 2 pass setup. First Apache needs to run for Letsencrypt to function.
# Then Letsencrypt can be enabled. Also useful to turn off in test setups.
class profiles::web (
String[1] $stable = '3.10',
Hash[String, Hash] $debugs_htpasswds = {},
Boolean $https = true,
) {
contain awstats

class { 'web':
https => $https,
}
Expand All @@ -26,11 +20,6 @@

contain web::vhost::deb

class { 'web::vhost::debugs':
htpasswds => $debugs_htpasswds,
}
contain web::vhost::debugs

contain web::vhost::downloads

contain web::vhost::stagingdeb
Expand Down
13 changes: 0 additions & 13 deletions puppet/modules/web/manifests/htpasswd.pp

This file was deleted.

2 changes: 0 additions & 2 deletions puppet/modules/web/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
'theforeman.org',
'archivedeb.theforeman.org',
'deb.theforeman.org',
'debugs.theforeman.org',
'downloads.theforeman.org',
'stagingdeb.theforeman.org',
'www.theforeman.org',
Expand All @@ -36,7 +35,6 @@
'/var/www/vhosts/web/htdocs',
'/var/www/vhosts/archivedeb/htdocs',
'/var/www/vhosts/deb/htdocs',
'/var/www/vhosts/debugs/htdocs',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would manually clean up this folder so it doesn't accidentally leak data that is currently there and behind password.

'/var/www/vhosts/downloads/htdocs',
'/var/www/vhosts/stagingdeb/htdocs',
'/var/www/vhosts/web/htdocs',
Expand Down
20 changes: 0 additions & 20 deletions puppet/modules/web/manifests/vhost/debugs.pp

This file was deleted.

16 changes: 0 additions & 16 deletions puppet/modules/web/templates/debugs.conf.erb

This file was deleted.

30 changes: 0 additions & 30 deletions puppet/spec/defines/web_htpasswd_spec.rb

This file was deleted.