Skip to content

Commit

Permalink
Remove MongoDB references
Browse files Browse the repository at this point in the history
This doesn't include a migration to remove the custom fact for tuning.
  • Loading branch information
ekohl authored and ehelms committed Mar 1, 2021
1 parent e1f21bb commit 62e0af7
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 55 deletions.
2 changes: 0 additions & 2 deletions config/foreman.hiera/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ dhcp::config_comment: |
Foreman application and in this configuration preferably via
foreman-installer. Use custom-hiera.yaml for multiple subnets.

mongodb::server::set_parameter: "{diagnosticDataCollectionEnabled: false}"

foreman::config::apache::proxy_params:
retry: '0'
timeout: '900'
11 changes: 0 additions & 11 deletions config/foreman.hiera/family/RedHat-7.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
---
mongodb::globals::server_package_name: 'rh-mongodb34-syspaths'
mongodb::client::package_name: 'rh-mongodb34-mongodb'
mongodb::globals::service_name: 'rh-mongodb34-mongod'
mongodb::server::config: '/etc/opt/rh/rh-mongodb34/mongod.conf'
mongodb::server::dbpath: '/var/lib/mongodb'
mongodb::server::syslog: true
mongodb::server::logpath: false
mongodb::server::config_template: 'mongodb/mongodb.conf.2.6.erb'
mongodb::server::manage_pidfile: false
mongodb::server::pidfilepath: '/var/opt/rh/rh-mongodb34/run/mongodb/mongod.pid'

redis::globals::scl: rh-redis5

postgresql::globals::version: '12'
Expand Down
3 changes: 0 additions & 3 deletions config/foreman.hiera/tuning/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,3 @@ postgresql::server::config_entries:
log_line_prefix: '%t '
log_min_duration_statement: 1000
log_rotation_size: 200000

mongodb::server::config_data:
storage.wiredTiger.engineConfig.cacheSizeGB: "%{facts.kafo.scenario.custom.mongo_cache_size}"
8 changes: 3 additions & 5 deletions hooks/boot/04-services.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,17 @@

module ServicesHookContextExtension
ALL_POSSIBLE_SERVICES = [
'*mongo*', # Used by Pulp 2
'*redis*', # Used by Foreman/Dynflow and Pulpcore
'apache.service', # Apache on Debian
'dynflow*',
'foreman*',
'httpd.service', # Apache on Red Hat
'postgresql*', # Used by Foreman/Dynflow and Pulpcore
'pulp*',
'qdrouterd.service', # Used by Pulp 2
'qpidd.service', # Used by Pulp 2
'pulpcore*',
'qdrouterd.service', # Used by Katello for katello-agent
'qpidd.service', # Used by Katello for katello-agent
'smart_proxy_dynflow_core.service', # Used by Foreman Proxy
'tomcat.service', # Candlepin
'squid.service', # Used by Pulp 2
].freeze

def start_services(services)
Expand Down
15 changes: 0 additions & 15 deletions hooks/pre_commit/14-mongo-cache-size.rb

This file was deleted.

19 changes: 0 additions & 19 deletions katello/hooks/pre/15-check-disk.rb

This file was deleted.

0 comments on commit 62e0af7

Please sign in to comment.