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-0.23.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.22.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.21.8 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.21.7 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.21.6 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.21.5 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.21.4 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.21.3 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.21.2 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.21.1 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.21.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.20.7 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.20.6 bolt-modules/boltlib/lib/puppet/datatypes/target.rb