Merge pull request #658 from hunner/fix_grant

Make grant autorequire user
This commit is contained in:
Igor Galić 2015-02-06 14:06:05 +01:00
commit dc23fedabb

View file

@ -4,6 +4,7 @@ Puppet::Type.newtype(:mysql_grant) do
ensurable ensurable
autorequire(:file) { '/root/.my.cnf' } autorequire(:file) { '/root/.my.cnf' }
autorequire(:mysql_user) { self[:user] }
def initialize(*args) def initialize(*args)
super super