Skip to content

fix FreeBSD support for backups#697

Merged
igalic merged 1 commit intopuppetlabs:masterfrom
fraenki:freebsd_support
Apr 13, 2015
Merged

fix FreeBSD support for backups#697
igalic merged 1 commit intopuppetlabs:masterfrom
fraenki:freebsd_support

Conversation

@fraenki
Copy link
Contributor

@fraenki fraenki commented Mar 30, 2015

The mysql::backup::* classes still use the hardcoded group name root, which is not available on FreeBSD systems. This patch changes this to use the param mysql::params::root_group instead. Besides that it utilizes /bin/sh instead of /bin/bash on systems other than Linux.

Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't this be $mysql::root_group?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, we might use $mysql::root:group here, but this module's style is to use $mysql::params::* elsewhere.

igalic added a commit that referenced this pull request Apr 13, 2015
fix FreeBSD support for backups
@igalic igalic merged commit eb3fa4e into puppetlabs:master Apr 13, 2015
@igalic
Copy link
Contributor

igalic commented Apr 13, 2015

true, true!
thanks @fraenki!

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.

3 participants