summaryrefslogtreecommitdiff
path: root/lib/puppet/type/mysql_database.rb
blob: b01bb836111176953d3b1f90036cfafef3c31d90 (plain)
1
2
3
4
5
6
7
8
9
10
11
# This has to be a separate type to enable collecting
Puppet::Type.newtype(:mysql_database) do
  @doc = "Manage a database."
  ensurable
  newparam(:name) do
    desc "The name of the database."

    # TODO: only [[:alnum:]_] allowed
  end
end