Sha256: 3be5fa99539d554d1c5c862574cf384012e3d3497f5080b5b3bbbde4a2058648

Contents?: true

Size: 623 Bytes

Versions: 68

Compression:

Stored size: 623 Bytes

Contents

require 'puppet/provider/package/gem'

Puppet::Type.type(:package).provide :puppet_gem, :parent => :gem do
  desc "Puppet Ruby Gem support. This provider is useful for managing
        gems needed by the ruby provided in the puppet-agent package."

  has_feature :versionable, :install_options, :uninstall_options

  if Puppet::Util::Platform.windows?
    # On windows, we put our ruby ahead of anything that already
    # existed on the system PATH. This means that we do not need to
    # sort out the absolute path.
    commands :gemcmd => "gem"
  else
    commands :gemcmd => "/opt/puppetlabs/puppet/bin/gem"
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
puppet-6.14.0 lib/puppet/provider/package/puppet_gem.rb
puppet-6.14.0-x86-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-6.14.0-x64-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-6.14.0-universal-darwin lib/puppet/provider/package/puppet_gem.rb
puppet-6.13.0 lib/puppet/provider/package/puppet_gem.rb
puppet-6.13.0-x86-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-6.13.0-x64-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-6.13.0-universal-darwin lib/puppet/provider/package/puppet_gem.rb
puppet-6.12.0 lib/puppet/provider/package/puppet_gem.rb
puppet-6.12.0-x86-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-6.12.0-x64-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-6.4.5 lib/puppet/provider/package/puppet_gem.rb
puppet-6.4.5-x86-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-6.4.5-x64-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-6.4.5-universal-darwin lib/puppet/provider/package/puppet_gem.rb
puppet-6.12.0-universal-darwin lib/puppet/provider/package/puppet_gem.rb
puppet-6.11.1 lib/puppet/provider/package/puppet_gem.rb
puppet-6.11.1-x86-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-6.11.1-x64-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-6.11.1-universal-darwin lib/puppet/provider/package/puppet_gem.rb