Sha256: 9e706fc81d4f8a5699a53c14cbd0703a5b6406e16a83744654b2a42a5a5a0f30

Contents?: true

Size: 180 Bytes

Versions: 12

Compression:

Stored size: 180 Bytes

Contents

# frozen_string_literal: true

require_relative '../../puppet/util/feature'

Puppet.features.add :telnet do
  begin
    require 'net/telnet'
  rescue LoadError
    false
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
puppet-8.5.1 lib/puppet/feature/telnet.rb
puppet-8.5.1-x86-mingw32 lib/puppet/feature/telnet.rb
puppet-8.5.1-x64-mingw32 lib/puppet/feature/telnet.rb
puppet-8.5.1-universal-darwin lib/puppet/feature/telnet.rb
puppet-8.5.0 lib/puppet/feature/telnet.rb
puppet-8.5.0-x86-mingw32 lib/puppet/feature/telnet.rb
puppet-8.5.0-x64-mingw32 lib/puppet/feature/telnet.rb
puppet-8.5.0-universal-darwin lib/puppet/feature/telnet.rb
puppet-8.4.0 lib/puppet/feature/telnet.rb
puppet-8.4.0-x86-mingw32 lib/puppet/feature/telnet.rb
puppet-8.4.0-x64-mingw32 lib/puppet/feature/telnet.rb
puppet-8.4.0-universal-darwin lib/puppet/feature/telnet.rb