Skip to content

Commit

Permalink
fixing the memory spec
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHeerschap committed Jul 25, 2015
1 parent 5424d81 commit 294cd12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/classes/collectd_plugin_memory_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
should contain_file('memory.load').with({
:ensure => 'present',
:path => '/etc/collectd.d/10-memory.conf',
:content => /\#\ Generated by Puppet\nLoadPlugin memory\n\n<Plugin memory>\n<\/Plugin>\n/,
:content => /\#\ Generated by Puppet\n<LoadPlugin memory>\n Globals false\n</LoadPlugin>\n/,
})
end
end
Expand All @@ -26,7 +26,7 @@
should contain_file('memory.load').with({
:ensure => 'present',
:path => '/etc/collectd.d/10-memory.conf',
:content => "# Generated by Puppet\n<LoadPlugin memory>\n Globals false\n</LoadPlugin>\n\n<Plugin memory>\n ValuesAbsolute = true\n ValuesPercentage = true\n</Plugin>\n\n",
:content => "# Generated by Puppet\n<LoadPlugin memory>\n Globals false\n</LoadPlugin>\n\n<Plugin memory>\n ValuesAbsolute = true\n ValuesPercentage = false\n</Plugin>\n\n",
})
end
end
Expand Down

0 comments on commit 294cd12

Please sign in to comment.