The Datadog module requires the dogapi ruby package. On Puppet Server 4.x, if puppetserver_gem is not already installed, the dogapi package will not install and cause reporting to fail with the error:
You need the `dogapi` gem to use the Datadog report (run puppet with puppet_run_reports on your master)
To install puppetserver_gem run:
puppet module install puppetlabs-puppetserver_gem
Older versions of Puppet use gem instead of puppetserver_gem to install packages. The gem provider can be configured on this line:
https://github.com/DataDog/puppet-datadog-agent/blob/master/manifests/init.pp#L187
The Datadog module requires the
dogapiruby package. On Puppet Server 4.x, ifpuppetserver_gemis not already installed, thedogapipackage will not install and cause reporting to fail with the error:To install
puppetserver_gemrun:Older versions of Puppet use
geminstead ofpuppetserver_gemto install packages. The gem provider can be configured on this line:https://github.com/DataDog/puppet-datadog-agent/blob/master/manifests/init.pp#L187