Skip to content

Commit

Permalink
Fixes #36801: Make Redis the default cache type
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms committed Oct 5, 2023
1 parent 1f9ddf9 commit 6781ff9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
Optional[Integer[0]] $foreman_service_puma_threads_min = undef,
Integer[0] $foreman_service_puma_threads_max = 5,
Optional[Integer[0]] $foreman_service_puma_workers = undef,
Hash[String, Any] $rails_cache_store = { 'type' => 'file' },
Hash[String, Any] $rails_cache_store = { 'type' => 'redis' },
Boolean $keycloak = false,
String[1] $keycloak_app_name = 'foreman-openidc',
String[1] $keycloak_realm = 'ssl-realm',
Expand Down
2 changes: 0 additions & 2 deletions spec/classes/foreman_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,6 @@
describe 'with custom redis' do
context 'with redis_url' do
let(:params) { super().merge(dynflow_redis_url: 'redis://127.0.0.1:4333/') }
it { should_not contain_class('redis') }
it { should_not contain_class('redis::instance') }
end
end

Expand Down

0 comments on commit 6781ff9

Please sign in to comment.