You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
343 B
17 lines
343 B
# 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."
|
|
end
|
|
|
|
newproperty(:charset) do
|
|
desc "The characterset to use for a database"
|
|
defaultto :utf8
|
|
newvalue(/^\S+$/)
|
|
end
|
|
|
|
end
|
|
|