diff --git a/config/foreman.migrations/20240505103832_change_db_pool_size.rb b/config/foreman.migrations/20240505103832_change_db_pool_size.rb new file mode 100644 index 00000000..e77ef4ee --- /dev/null +++ b/config/foreman.migrations/20240505103832_change_db_pool_size.rb @@ -0,0 +1,3 @@ +if answers['foreman'].is_a?(Hash) && answers.dig('foreman', 'db_pool').to_i == 5 + answers['foreman'].delete('db_pool') +end diff --git a/config/katello.migrations/240506081834-change-db-pool-size.rb b/config/katello.migrations/240506081834-change-db-pool-size.rb new file mode 100644 index 00000000..e77ef4ee --- /dev/null +++ b/config/katello.migrations/240506081834-change-db-pool-size.rb @@ -0,0 +1,3 @@ +if answers['foreman'].is_a?(Hash) && answers.dig('foreman', 'db_pool').to_i == 5 + answers['foreman'].delete('db_pool') +end