summaryrefslogtreecommitdiffstats
path: root/plugins/puppet/type/mysql_database.rb
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/puppet/type/mysql_database.rb')
-rw-r--r--plugins/puppet/type/mysql_database.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/puppet/type/mysql_database.rb b/plugins/puppet/type/mysql_database.rb
new file mode 100644
index 0000000..5dd96d4
--- /dev/null
+++ b/plugins/puppet/type/mysql_database.rb
@@ -0,0 +1,9 @@
+# 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."
+ end
+end
+