Skip to content

Commit

Permalink
Merge pull request #658 from hunner/fix_grant
Browse files Browse the repository at this point in the history
Make grant autorequire user
  • Loading branch information
igalic committed Feb 6, 2015
2 parents 3fa7050 + 506292a commit dc23fed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/puppet/type/mysql_grant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
ensurable

autorequire(:file) { '/root/.my.cnf' }
autorequire(:mysql_user) { self[:user] }

def initialize(*args)
super
Expand Down

0 comments on commit dc23fed

Please sign in to comment.