Sha256: 0c9844b64cc2e14d30a4a69902629deeaf55d3d3de791908670494528b4f9256

Contents?: true

Size: 565 Bytes

Versions: 6

Compression:

Stored size: 565 Bytes

Contents

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

6 entries across 6 versions & 1 rubygems

Version Path
bolt-0.17.2 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.17.1 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.17.0 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.16.4 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.16.3 bolt-modules/boltlib/lib/puppet/datatypes/target.rb
bolt-0.16.2 modules/boltlib/lib/puppet/datatypes/target.rb