Sha256: f7947703411708cd351bd1afae549de60470ac2da95ab3a2b47d883b284bcb1c

Contents?: true

Size: 299 Bytes

Versions: 12

Compression:

Stored size: 299 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.new(Puppet::Pops::Issues::DISCONTINUED_IMPORT)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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