Skip to content

Commit

Permalink
add id and path facts to test context
Browse files Browse the repository at this point in the history
  • Loading branch information
kitchen committed Jan 22, 2015
1 parent c605da8 commit bb978ee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/classes/collectd_plugin_genericjmx_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
describe 'collectd::plugin::genericjmx', :type => :class do
let (:facts) {{
:osfamily => 'Debian',
:id => 'root',
:concat_basedir => tmpfilename('collectd-genericjmx'),
:path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
}}

let (:config_filename) { '/etc/collectd/conf.d/15-genericjmx.conf' }
Expand Down
2 changes: 2 additions & 0 deletions spec/defines/collectd_plugin_genericjmx_connection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

let (:facts) {{
:osfamily => 'Debian',
:id => 'root',
:concat_basedir => tmpfilename('collectd-genericjmx-connection'),
:path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
}}

let (:config_filename) { '/etc/collectd/conf.d/15-genericjmx.conf' }
Expand Down
2 changes: 2 additions & 0 deletions spec/defines/collectd_plugin_genericjmx_mbean_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

let (:facts) {{
:osfamily => 'Debian',
:id => 'root',
:concat_basedir => tmpfilename('collectd-genericjmx-mbean'),
:path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
}}

let (:config_filename) { '/etc/collectd/conf.d/15-genericjmx.conf' }
Expand Down

0 comments on commit bb978ee

Please sign in to comment.