Sha256: 5e95ae5926141bbc95f27299e7fe2924d81406ed619c22f48733a419560d31c8

Contents?: true

Size: 594 Bytes

Versions: 33

Compression:

Stored size: 594 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 => {
      host => Callable[[], String[1]],
      name => Callable[[], String[1]],
      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

33 entries across 33 versions & 1 rubygems

Version Path
bolt-1.15.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.14.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.13.1 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.13.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.12.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.11.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.10.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.9.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.8.1 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.8.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.7.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.6.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.5.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.4.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.3.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.2.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.1.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-1.0.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.25.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.24.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb