Sha256: ce8ab06ad5381944b34bd5a2bb8566f214f41e34d6f6eea0c50024f665b7fe99

Contents?: true

Size: 432 Bytes

Versions: 9

Compression:

Stored size: 432 Bytes

Contents

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

  load_file('bolt/result')

  implementation_class Bolt::Result
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bolt-0.17.2 bolt-modules/boltlib/lib/puppet/datatypes/result.rb
bolt-0.17.1 bolt-modules/boltlib/lib/puppet/datatypes/result.rb
bolt-0.17.0 bolt-modules/boltlib/lib/puppet/datatypes/result.rb
bolt-0.16.4 bolt-modules/boltlib/lib/puppet/datatypes/result.rb
bolt-0.16.3 bolt-modules/boltlib/lib/puppet/datatypes/result.rb
bolt-0.16.2 modules/boltlib/lib/puppet/datatypes/result.rb
bolt-0.16.1 modules/boltlib/lib/puppet/datatypes/result.rb
bolt-0.16.0 modules/boltlib/lib/puppet/datatypes/result.rb
bolt-0.15.0 modules/boltlib/lib/puppet/datatypes/result.rb