Sha256: 281ab6f7a50520110fd1fbbaf54b9181a40973e8212ab1fbadff69ab93b86633

Contents?: true

Size: 493 Bytes

Versions: 12

Compression:

Stored size: 493 Bytes

Contents

# @!puppet.type.param [value1, value2, value3] my_param Documentation for a dynamic parameter.
# @!puppet.type.property [foo, bar, baz] my_prop Documentation for a dynamic property.
Puppet::Type.newtype(:database) do
  desc 'An example server resource type.'
  feature :encryption, 'The provider supports encryption.', methods: [:encrypt]

  newparam(:address) do
    isnamevar
    desc 'The database server name.'
  end

  newproperty(:file) do
    desc 'The database file to use.'
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
puppet-strings-2.4.0 spec/fixtures/acceptance/modules/test/lib/puppet/type/database.rb
puppet-strings-2.3.1 spec/fixtures/acceptance/modules/test/lib/puppet/type/database.rb
puppet-strings-2.3.0 spec/fixtures/acceptance/modules/test/lib/puppet/type/database.rb
puppet-strings-2.2.0 spec/fixtures/acceptance/modules/test/lib/puppet/type/database.rb
puppet-strings-2.1.0 spec/fixtures/acceptance/modules/test/lib/puppet/type/database.rb
puppet-strings-2.0.0 spec/fixtures/acceptance/modules/test/lib/puppet/type/database.rb
puppet-strings-1.2.1 spec/fixtures/acceptance/modules/test/lib/puppet/type/database.rb
puppet-strings-1.2.0 spec/fixtures/acceptance/modules/test/lib/puppet/type/database.rb
puppet-strings-1.1.1 spec/fixtures/acceptance/modules/test/lib/puppet/type/database.rb
puppet-strings-1.1.0 spec/fixtures/acceptance/modules/test/lib/puppet/type/database.rb
puppet-strings-1.0.0 spec/fixtures/acceptance/modules/test/lib/puppet/type/database.rb
puppet-strings-0.99.0 spec/fixtures/acceptance/modules/test/lib/puppet/type/database.rb