Sha256: 90701864f24c55c968c96ab82dad319b587b705e9190dd54c31e5f321ba9f91c

Contents?: true

Size: 601 Bytes

Versions: 20

Compression:

Stored size: 601 Bytes

Contents

# frozen_string_literal: true

Puppet::DataTypes.create_type('Target') do
  interface <<-PUPPET
    attributes => {
      uri => String[1],
      options => { type => Hash[String[1], Data], value => {} }
    },
    functions => {
      name => Callable[[], String[1]],
      host => Callable[[], Optional[String]],
      password => Callable[[], Optional[String[1]]],
      port => Callable[[], Optional[Integer]],
      protocol => Callable[[], Optional[String[1]]],
      user => Callable[[], Optional[String[1]]],
    }
  PUPPET

  load_file('bolt/target')

  implementation_class Bolt::Target
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
bolt-1.31.1 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.31.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.30.1 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.30.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.29.1 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.29.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.28.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.27.1 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.27.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.26.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.25.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.24.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.23.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.22.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.21.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.20.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.19.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.18.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.17.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.16.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb