Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type mysql_grant fixed, spec test created #376

Merged
merged 2 commits into from Nov 17, 2013

Conversation

w32-blaster
Copy link
Contributor

Type mysql_grant was limited to work only with resource names foo@localhost/. or foo@localhost/bar.* but NOT with root@localhost/@ which is the parsed value of "GRANT PROXY ON ''@'' TO 'root'@'localhost' WITH GRANT OPTION" grant line.

New spec test was created for the type mysql_grant.rb

defaults_file methods removed from every provider (old & new) and moved
the method to the global mysql.rb which is now included in every provider
file.

@igalic
Copy link
Contributor

igalic commented Nov 14, 2013

You are removing defaults_file, but there's no mention in your commit message of that.

@w32-blaster
Copy link
Contributor Author

Right. Fixed before. I will update my commit message.

@w32-blaster
Copy link
Contributor Author

Done. Can you merge?

@igalic
Copy link
Contributor

igalic commented Nov 15, 2013

That's not what I meant. Those should be two different pull requests, or at least two different commits.

the method to the global mysql.rb which is now included in every provider
file.

Class from the global mysql.rb file is a parent of every provider.
…alhost/*.* or foo@localhost/bar.* but NOT with root@localhost/@ which is the parsed value of "GRANT PROXY ON ''@'' TO 'root'@'localhost' WITH GRANT OPTION" grant line.

New spec test was created for the type mysql_grant.rb
@w32-blaster
Copy link
Contributor Author

Done again :)

igalic added a commit that referenced this pull request Nov 17, 2013
Type mysql_grant fixed, spec test created
@igalic igalic merged commit 6ae9bc6 into puppetlabs:master Nov 17, 2013
@w32-blaster w32-blaster restored the master branch December 13, 2013 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants