Sha256: f987b066fd248425d129f88fe5c6dc3fb2ec7bc0c682f062880482bc8404387b

Contents?: true

Size: 667 Bytes

Versions: 28

Compression:

Stored size: 667 Bytes

Contents

# frozen_string_literal: true

Puppet::DataTypes.create_type('ApplyResult') do
  interface <<-PUPPET
    attributes => {
      'report' => Hash[String[1], Data],
      'target' => Target
    },
    functions => {
      error => Callable[[], Optional[Error]],
      ok => Callable[[], Boolean],
      message => Callable[[], Optional[String]],
      action => Callable[[], String],
      to_data => Callable[[], Hash],
    }
  PUPPET

  load_file('bolt/apply_result')

  # Needed for Puppet to recognize Bolt::ApplyResult as a Puppet object when deserializing
  Bolt::ApplyResult.include(Puppet::Pops::Types::PuppetObject)
  implementation_class Bolt::ApplyResult
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
bolt-2.35.0 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.34.0 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.33.2 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.33.1 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.32.0 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.31.0 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.30.0 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.29.0 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.28.0 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.27.0 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.26.0 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.25.0 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.24.1 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.24.0 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.23.0 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.22.0 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.21.0 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.20.0 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.19.0 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
bolt-2.18.0 bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb