module-puppetlabs-mysql/lib/puppet/provider/database_grant/default.rb
2011-05-24 23:22:43 -07:00

21 lines
404 B
Ruby

# A grant is either global or per-db. This can be distinguished by the syntax
# of the name:
# user@host => global
# user@host/db => per-db
Puppet::Type.type(:database_grant).provide(:default) do
desc "Uses mysql as database."
def destroy
return false
end
def create
return false
end
def exists?
fail('Default provider for database_grant should never be used')
end
end