Provider: sensu_gem

Defined in:
lib/puppet/provider/package/sensu_gem.rb
Resource type:
package

Overview

Sensu Embedded Ruby Gem support. If a URL is passed via source, then that URL is used as the remote gem repository; if a source is present but is not a valid URL, it will be interpreted as the path to a local gem file. If source is not present at all, the gem will be installed from the default gem repositories.

Features

  • versionable
  • install_options

Commands

  • gemcmd — if RUBY_PLATFORM =~ /cygwin|mswin|mingw|bccwin|winse|emx/ "#{ENV['SYSTEMDRIVE']}\\opt\\sensu\\embedded\\bin\\gem.cmd" else "/opt/sensu/embedded/bin/gem" end