Sha256: f582eb5fa95435b6638ada4d772cb1ba2cacdc37fb10c4caadc53a60e5a6717a

Contents?: true

Size: 295 Bytes

Versions: 20

Compression:

Stored size: 295 Bytes

Contents

# frozen_string_literal: true

# The import function raises an error when called to inform the user that import is no longer supported.
#
Puppet::Functions.create_function(:import) do
  def import(*args)
    raise Puppet::Pops::SemanticError, Puppet::Pops::Issues::DISCONTINUED_IMPORT
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
puppet-8.10.0 lib/puppet/functions/import.rb
puppet-8.10.0-x86-mingw32 lib/puppet/functions/import.rb
puppet-8.10.0-x64-mingw32 lib/puppet/functions/import.rb
puppet-8.10.0-universal-darwin lib/puppet/functions/import.rb
puppet-8.9.0 lib/puppet/functions/import.rb
puppet-8.9.0-x86-mingw32 lib/puppet/functions/import.rb
puppet-8.9.0-x64-mingw32 lib/puppet/functions/import.rb
puppet-8.9.0-universal-darwin lib/puppet/functions/import.rb
puppet-8.8.1 lib/puppet/functions/import.rb
puppet-8.8.1-x86-mingw32 lib/puppet/functions/import.rb
puppet-8.8.1-x64-mingw32 lib/puppet/functions/import.rb
puppet-8.8.1-universal-darwin lib/puppet/functions/import.rb
puppet-8.7.0 lib/puppet/functions/import.rb
puppet-8.7.0-x86-mingw32 lib/puppet/functions/import.rb
puppet-8.7.0-x64-mingw32 lib/puppet/functions/import.rb
puppet-8.7.0-universal-darwin lib/puppet/functions/import.rb
puppet-8.6.0 lib/puppet/functions/import.rb
puppet-8.6.0-x86-mingw32 lib/puppet/functions/import.rb
puppet-8.6.0-x64-mingw32 lib/puppet/functions/import.rb
puppet-8.6.0-universal-darwin lib/puppet/functions/import.rb