Merge pull request #658 from hunner/fix_grant
Make grant autorequire user
This commit is contained in:
commit
dc23fedabb
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue