diff --git a/spec/classes/collectd_plugin_genericjmx_spec.rb b/spec/classes/collectd_plugin_genericjmx_spec.rb index 5dc0a84e9..c8eb126c5 100644 --- a/spec/classes/collectd_plugin_genericjmx_spec.rb +++ b/spec/classes/collectd_plugin_genericjmx_spec.rb @@ -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' } diff --git a/spec/defines/collectd_plugin_genericjmx_connection_spec.rb b/spec/defines/collectd_plugin_genericjmx_connection_spec.rb index f93427de8..105887c2d 100644 --- a/spec/defines/collectd_plugin_genericjmx_connection_spec.rb +++ b/spec/defines/collectd_plugin_genericjmx_connection_spec.rb @@ -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' } diff --git a/spec/defines/collectd_plugin_genericjmx_mbean_spec.rb b/spec/defines/collectd_plugin_genericjmx_mbean_spec.rb index e1ba5a8e4..de8f961cc 100644 --- a/spec/defines/collectd_plugin_genericjmx_mbean_spec.rb +++ b/spec/defines/collectd_plugin_genericjmx_mbean_spec.rb @@ -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' }