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

Bugfix on Xtrabackup crons #700

Merged
merged 1 commit into from
Apr 22, 2015
Merged

Bugfix on Xtrabackup crons #700

merged 1 commit into from
Apr 22, 2015

Conversation

mvisonneau
Copy link
Contributor

I did a simple modification in order to correctly retrieve the value of $backupdir into the crontab definition.

cron { 'xtrabackup-weekly':
ensure => $ensure,
command => 'innobackupex $backupdir',
command => "innobackupex $backupdir",
Copy link
Contributor

Choose a reason for hiding this comment

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

this needs {} around the variable:

    command => "innobackupex ${backupdir}",

@igalic
Copy link
Contributor

igalic commented Apr 21, 2015

general comments, you might wanna use the github flow workflow for your (next) patch

@@ -47,12 +43,11 @@
require => Package['percona-xtrabackup'],
}

file { 'mysqlbackupdir':
file { $backupdir:
Copy link
Contributor

Choose a reason for hiding this comment

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

nope, this is a bit over-enthusiastic.
we need this for our dependencies, and our spec tests.

@mvisonneau
Copy link
Contributor Author

Sorry about that, I surely will use more the branches for my next PR.
I squashed my commits into a single one.

@mvisonneau mvisonneau force-pushed the master branch 2 times, most recently from 28e4b78 to 2b9e777 Compare April 21, 2015 12:24
igalic added a commit that referenced this pull request Apr 22, 2015
Bugfix on Xtrabackup crons
@igalic igalic merged commit a4b7595 into puppetlabs:master Apr 22, 2015
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