I have a module that I'm refactoring that manages NTP servers and clients. The client portion of the module performs a puppetdb (Forge Module dalen-puppetdbquery) lookup to find the local NTP stratum 2 servers to populate into the client's /etc/ntp.conf file. Works great in real life but the module fails spec testing with an error:
Failure/Error: require 'puppet/util/puppetdb' I am using the bundler to load necessary gem files locally. Here is my Gemfile: source 'https://rubygems.org' puppetversion = ENV.key?('PUPPET_VERSION') ? "= #{ENV['PUPPET_VERSION']}" : ['>= 3.3'] gem 'puppet', puppetversion gem 'puppetlabs_spec_helper', '>= 0.1.0' gem 'puppet-lint', '>= 0.3.2' gem 'facter', '>= 1.7.0' gem 'rspec', '>= 0.0.0' gem 'puppetdb-ruby' gem 'puppetdb-terminus' gem 'puppetdb_query' gem 'ruby-puppetdb' gem "simplecov-rcov" gem "ci_reporter" So, what am I missing? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAArvnv0s2xH4hh0dKPZPECj41RKcOnAFXgkaip7dhPrQJMthpg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
