We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acbd2ee commit da2cadeCopy full SHA for da2cade
1 file changed
spec/classes/redis_spec.rb
@@ -1738,6 +1738,16 @@ class { 'redis':
1738
it { is_expected.to contain_systemd__unit_file("#{service_name}.service").with('content' => %r{^TimeoutStopSec=300$}) }
1739
end
1740
1741
+ describe 'with parameter service_oom_score_adjust set' do
1742
+ let(:params) do
1743
+ {
1744
+ manage_service_file: true,
1745
+ service_oom_score_adjust: -1000,
1746
+ }
1747
+ end
1748
+ it { is_expected.to contain_systemd__unit_file("#{service_name}.service").with('content' => %r{^OOMScoreAdjust=-1000$}) }
1749
1750
+
1751
describe 'with non default ownership' do
1752
let :params do
1753
{
0 commit comments