summaryrefslogtreecommitdiffstats
path: root/plugins/puppet/type/mysql_schema.rb
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/puppet/type/mysql_schema.rb')
-rw-r--r--plugins/puppet/type/mysql_schema.rb25
1 files changed, 0 insertions, 25 deletions
diff --git a/plugins/puppet/type/mysql_schema.rb b/plugins/puppet/type/mysql_schema.rb
deleted file mode 100644
index 7ae5289..0000000
--- a/plugins/puppet/type/mysql_schema.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# This has to be a separate type to enable collecting
-Puppet::Type.newtype(:mysql_schema) do
- @doc = "Manage a database user's rights."
- ensurable
-
- autorequire :exec do
- ["mysql_rootpw_flush"]
- end
-
- autorequire :mysql_database do
- [self[:db]]
- end
-
- newparam(:name) do
- desc "The file used to create the schema. This will be autorequired."
- end
-
- newparam(:rootpw) do
- desc "The mysql root user password"
- end
-
- newparam(:db) do
- desc "The database on which the schema is created"
- end
-end