Skip to content

new config define and a small bugfix #93

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

Merged
merged 4 commits into from
Aug 29, 2012
Merged

new config define and a small bugfix #93

merged 4 commits into from
Aug 29, 2012

Conversation

savar
Copy link
Contributor

@savar savar commented Aug 13, 2012

  • added a define to easily create .cnf files in /etc/mysql/conf.d/
  • fix wrong path for .my.cnf in /etc/

* added a define to easily create .cnf files in /etc/mysql/conf.d/
* fix wrong path for .my.cnf in /etc/
@@ -99,7 +99,7 @@
}

if $etc_root_password {
file{ '/etc/my.cnf':
file{ '/etc/.my.cnf':
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not familiar with /etc/.my.cnf. Are you thinking of ~/.my.cnf?

@savar
Copy link
Contributor Author

savar commented Aug 23, 2012

I'm neither familiar with this /etc/.my.cnf. But I only make it like the docu says itself

#   [*etc_root_password*] - whether to save /etc/.my.cnf

but you're right.. maybe the doc should be switched to /etc/my.cnf instead the other way around.

It's definitly not ~/.my.cnf because this is handled in line 96+ and the 'man mysql' shows this:

·   Use an option file.  You can set the prompt option in the [mysql] group of any MySQL option file, such as /etc/my.cnf or the .my.cnf file in your home directory. For example:

So i will change this.

* rollback for the file location + updated the documentation
@branan
Copy link
Contributor

branan commented Aug 24, 2012

I'm quite happy with this.

It would be really awesome for you to add an rspec test for the new defined type. Let me know if you're going to do that. This can definitely get merged either way.

* fixed a typo in the documentation
* added documentation for parameter +notify_service+
* added rspec test
@savar
Copy link
Contributor Author

savar commented Aug 24, 2012

Here you're :).. thanks for comment.. i fixed also the documentation a little bit.

I hope the rspec test is ok?

hunner added a commit that referenced this pull request Aug 29, 2012
new config define and a small bugfix
@hunner hunner merged commit 0e4de09 into puppetlabs:master Aug 29, 2012
pmcmaw pushed a commit to pmcmaw/puppetlabs-mysql that referenced this pull request Mar 3, 2021
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.

4 participants