Sha256: 19dd30139901c98769833b9ed926099fe0f26a454ce405baff6c32a7ae3b0e45

Contents?: true

Size: 622 Bytes

Versions: 295

Compression:

Stored size: 622 Bytes

Contents

require 'puppet/provider/package'

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.features.microsoft_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

295 entries across 295 versions & 3 rubygems

Version Path
puppet-retrospec-1.8.0 vendor/pup410/lib/puppet/provider/package/puppet_gem.rb
puppet-retrospec-1.7.0 vendor/pup410/lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.14 lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.14-x86-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.14-x64-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.14-universal-darwin lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.13 lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.13-x86-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.13-x64-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.13-universal-darwin lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.12 lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.12-x86-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.12-x64-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.12-universal-darwin lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.10 lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.10-x86-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.10-x64-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.10-universal-darwin lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.8 lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.8-x86-mingw32 lib/puppet/provider/package/puppet_gem.rb