summaryrefslogtreecommitdiff
path: root/manifests/server/cron/optimize.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-09-22 13:12:51 -0400
committerMicah Anderson <micah@riseup.net>2010-09-22 13:12:51 -0400
commita3e7b031a39d2f5a3a6cb3ff71ffe47af9fe3fc6 (patch)
treeb10b0b101dd07d34fa0d17b391179f2bb87f5607 /manifests/server/cron/optimize.pp
parent316e75293331d0a9927f0731784c05dd0fb16374 (diff)
parent24d7c6aa2480a4ff5436e2b89800c0aab11cbe33 (diff)
Merge remote branch 'remotes/immerda/master'
Conflicts: manifests/server/base.pp
Diffstat (limited to 'manifests/server/cron/optimize.pp')
-rw-r--r--manifests/server/cron/optimize.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/server/cron/optimize.pp b/manifests/server/cron/optimize.pp
index 29ee66e..c238930 100644
--- a/manifests/server/cron/optimize.pp
+++ b/manifests/server/cron/optimize.pp
@@ -1,13 +1,13 @@
class mysql::server::cron::optimize {
file { 'mysql_optimize_script':
- path => "${mysql_moduledir}/server/optimize_tables.rb",
- source => "puppet://${server}/modules/mysql/scripts/optimize_tables.rb",
+ path => '/usr/local/sbin/optimize_mysql_tables.rb',
+ source => "puppet:///modules/mysql/scripts/optimize_tables.rb",
owner => root, group => 0, mode => 0700;
}
cron { 'mysql_optimize_cron':
- command => "${mysql_moduledir}/server/optimize_tables.rb",
+ command => '/usr/local/sbin/optimize_mysql_tables.rb',
user => 'root',
minute => 40,
hour => 6,