Sha256: 7f1b4bbd9fbd9e8fd74b926769c50e761ef6f69f9cd8fffd5dff50b7ddd11b33

Contents?: true

Size: 467 Bytes

Versions: 14

Compression:

Stored size: 467 Bytes

Contents

# This has to be a separate type to enable collecting
Puppet::Type.newtype(:database) do
  @doc = 'Manage databases.'

  ensurable

  newparam(:name, :namevar=>true) do
    desc 'The name of the database.'
    validate do |value|
      Puppet.warning("database has been deprecated in favor of mysql_database.")
      true
    end
  end

  newproperty(:charset) do
    desc 'The characterset to use for a database'
    defaultto :utf8
    newvalue(/^\S+$/)
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/mysql/lib/puppet/type/database.rb
freighthop-0.6.0 modules/mysql/lib/puppet/type/database.rb
freighthop-0.5.2 modules/mysql/lib/puppet/type/database.rb
freighthop-0.5.1 modules/mysql/lib/puppet/type/database.rb
freighthop-0.5.0 modules/mysql/lib/puppet/type/database.rb
freighthop-0.4.1 modules/mysql/lib/puppet/type/database.rb
freighthop-0.4.0 modules/mysql/lib/puppet/type/database.rb
freighthop-0.3.3 modules/mysql/lib/puppet/type/database.rb
freighthop-0.3.2 modules/mysql/lib/puppet/type/database.rb
freighthop-0.3.1 modules/mysql/lib/puppet/type/database.rb
freighthop-0.3.0 modules/mysql/lib/puppet/type/database.rb
freighthop-0.2.1 modules/mysql/lib/puppet/type/database.rb
freighthop-0.2.0 modules/mysql/lib/puppet/type/database.rb
freighthop-0.1.0 modules/mysql/lib/puppet/type/database.rb