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-5.5.0-x86-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.0-x64-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-5.5.0-universal-darwin lib/puppet/provider/package/puppet_gem.rb
bolt-0.17.2 vendored/puppet/lib/puppet/provider/package/puppet_gem.rb
bolt-0.17.1 vendored/puppet/lib/puppet/provider/package/puppet_gem.rb
bolt-0.17.0 vendored/puppet/lib/puppet/provider/package/puppet_gem.rb
bolt-0.16.4 vendored/puppet/lib/puppet/provider/package/puppet_gem.rb
bolt-0.16.3 vendored/puppet/lib/puppet/provider/package/puppet_gem.rb
bolt-0.16.2 vendored/puppet/lib/puppet/provider/package/puppet_gem.rb
puppet-5.4.0 lib/puppet/provider/package/puppet_gem.rb
puppet-5.4.0-x86-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-5.4.0-x64-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-5.4.0-universal-darwin lib/puppet/provider/package/puppet_gem.rb
puppet-5.3.5 lib/puppet/provider/package/puppet_gem.rb
puppet-5.3.5-x86-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-5.3.5-x64-mingw32 lib/puppet/provider/package/puppet_gem.rb
puppet-5.3.5-universal-darwin lib/puppet/provider/package/puppet_gem.rb
bolt-0.16.1 vendored/puppet/lib/puppet/provider/package/puppet_gem.rb
puppet-5.3.4 lib/puppet/provider/package/puppet_gem.rb
puppet-5.3.4-x86-mingw32 lib/puppet/provider/package/puppet_gem.rb