Sha256: 5d63e7ba48b61c20eac9679643802737abe09b6b6e4278c44036a5a84699ce84

Contents?: true

Size: 602 Bytes

Versions: 6

Compression:

Stored size: 602 Bytes

Contents

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

  ensurable

  newparam(:name, :namevar=>true) do
    desc "The name of the database."
  end

  newparam(:owner) do
    desc "The owner of the database"

    defaultto :postgres
  end

  newparam(:encoding) do
    desc "The character set encoding to use for the database"

    defaultto :UTF8
  end

  newparam(:locale) do
    desc "The locale to use for collation. Typical values include 'C' or 'en_US.UTF-8' or other specifiers"

	defaultto :'en_US.UTF-8'
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
safeguard-devise-0.0.7 puppet/modules/postgresql/lib/puppet/type/pg_database.rb
safeguard-devise-0.0.6 puppet/modules/postgresql/lib/puppet/type/pg_database.rb
safeguard-devise-0.0.5 puppet/modules/postgresql/lib/puppet/type/pg_database.rb
safeguard-devise-0.0.4 puppet/modules/postgresql/lib/puppet/type/pg_database.rb
safeguard-devise-0.0.3 puppet/modules/postgresql/lib/puppet/type/pg_database.rb
safeguard-devise-0.0.2 puppet/modules/postgresql/lib/puppet/type/pg_database.rb