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

(#13163) Datadir should be configurable #47

Merged

Conversation

blkperl
Copy link
Contributor

@blkperl blkperl commented Mar 16, 2012

Previously datadir was hardcoded to /var/lib/mysql.
This commit makes datadir configurable for MySQL
installations with custom datadir paths.

@nanliu
Copy link
Contributor

nanliu commented Mar 16, 2012

Would you mind rebasing and adding spec coverage?

@blkperl
Copy link
Contributor Author

blkperl commented Mar 17, 2012

@nanliu @bodepd

Rebased and added spec tests. Thanks.

@@ -32,7 +33,8 @@
$etc_root_password = $mysql::params::etc_root_password,
$service_name = $mysql::params::service_name,
$config_file = $mysql::params::config_file,
$socket = $mysql::params::socket
$socket = $mysql::params::socket,
$datadir = $mysql::params::datadir,
Copy link
Contributor

Choose a reason for hiding this comment

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

this trailing comma will break 2.6 backwards compatibility

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@bodepd Fixed

Previously datadir was hardcoded to /var/lib/mysql.
This commit makes datadir configurable for MySQL
installations with custom datadir paths.
bodepd added a commit that referenced this pull request Mar 18, 2012
…nfigurable

(#13163) Datadir should be configurable
@bodepd bodepd merged commit 06ac21a into puppetlabs:master Mar 18, 2012
pmcmaw added a commit to pmcmaw/puppetlabs-mysql that referenced this pull request Mar 3, 2021
(maint) - Fix so that W32Time is running at start of test
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