Sha256: 453377c3881d6ef15bd9409af203ef66a193a3991c1d0d992d44422241ba62b6
Contents?: true
Size: 720 Bytes
Versions: 17
Compression:
Stored size: 720 Bytes
Contents
# frozen_string_literal: true 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]], action => Callable[[], String], status => Callable[[], String], to_data => Callable[[], Hash], ok => Callable[[], Boolean], '[]' => Callable[[String[1]], Data] } PUPPET load_file('bolt/result') # Needed for Puppet to recognize Bolt::Result as a Puppet object when deserializing Bolt::Result.include(Puppet::Pops::Types::PuppetObject) implementation_class Bolt::Result end
Version data entries
17 entries across 17 versions & 1 rubygems