blob: 0ba929f9bbbc33601a447c103f1d778a9f2f1d73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# This has to be a separate type to enable collecting
Puppet::Type.newtype(:mysql_database) do
@doc = "Manage a database."
ensurable
autorequire(:service) { 'mysql' }
newparam(:name) do
desc "The name of the database."
# TODO: only [[:alnum:]_] allowed
end
end
|