Skip to content

Commit

Permalink
Run rubocop -a
Browse files Browse the repository at this point in the history
  • Loading branch information
jsczek committed Aug 15, 2024
1 parent bb731af commit 23240f2
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 32 deletions.
8 changes: 4 additions & 4 deletions spec/classes/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@

it do
is_expected.to contain_file('monit_state_dir').with('ensure' => 'directory',
'path' => state_dir,
'owner' => 'root',
'group' => root_group,
'mode' => '0755')
'path' => state_dir,
'owner' => 'root',
'group' => root_group,
'mode' => '0755')
end

it do
Expand Down
56 changes: 28 additions & 28 deletions spec/defines/check_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@

it do
is_expected.to contain_file("#{config_dir}/test").with('ensure' => 'present',
'owner' => 'root',
'group' => 'root',
'mode' => '0644',
'source' => nil,
'content' => nil,
'notify' => 'Service[monit]',
'require' => 'Package[monit]')
'owner' => 'root',
'group' => 'root',
'mode' => '0644',
'source' => nil,
'content' => nil,
'notify' => 'Service[monit]',
'require' => 'Package[monit]')
end
end

Expand All @@ -49,13 +49,13 @@

it do
is_expected.to contain_file("#{config_dir}/test").with('ensure' => value,
'owner' => 'root',
'group' => 'root',
'mode' => '0644',
'source' => nil,
'content' => nil,
'notify' => 'Service[monit]',
'require' => 'Package[monit]')
'owner' => 'root',
'group' => 'root',
'mode' => '0644',
'source' => nil,
'content' => nil,
'notify' => 'Service[monit]',
'require' => 'Package[monit]')
end
end
end
Expand All @@ -76,13 +76,13 @@

it do
is_expected.to contain_file("#{config_dir}/test").with('ensure' => 'present',
'owner' => 'root',
'group' => 'root',
'mode' => '0644',
'source' => nil,
'content' => content,
'notify' => 'Service[monit]',
'require' => 'Package[monit]')
'owner' => 'root',
'group' => 'root',
'mode' => '0644',
'source' => nil,
'content' => content,
'notify' => 'Service[monit]',
'require' => 'Package[monit]')
end
end

Expand All @@ -95,13 +95,13 @@

it do
is_expected.to contain_file("#{config_dir}/test").with('ensure' => 'present',
'owner' => 'root',
'group' => 'root',
'mode' => '0644',
'source' => 'puppet:///modules/monit/ntp',
'content' => nil,
'notify' => 'Service[monit]',
'require' => 'Package[monit]')
'owner' => 'root',
'group' => 'root',
'mode' => '0644',
'source' => 'puppet:///modules/monit/ntp',
'content' => nil,
'notify' => 'Service[monit]',
'require' => 'Package[monit]')
end
end

Expand Down

0 comments on commit 23240f2

Please sign in to comment.