Commit dfcd8ca3 authored by Romain Courteaud's avatar Romain Courteaud

Remove duplicated part

parent 9c1fdd3a
...@@ -22,7 +22,7 @@ url = mysql://$${mariadb-instance:user}:$${mariadb-instance:password}@$${mariadb ...@@ -22,7 +22,7 @@ url = mysql://$${mariadb-instance:user}:$${mariadb-instance:password}@$${mariadb
recipe = slapos.cookbook:cron.d recipe = slapos.cookbook:cron.d
name = mariadb-backup name = mariadb-backup
frequency = 0 0 * * * frequency = 0 0 * * *
command = $${mariadb-instance:innobackupex-controller} command = $${mariadb-instance:backup-script}
[mariadb-instance] [mariadb-instance]
recipe = slapos.cookbook:generic.mysql recipe = slapos.cookbook:generic.mysql
...@@ -113,13 +113,6 @@ name = logrotate ...@@ -113,13 +113,6 @@ name = logrotate
frequency = 0 0 * * * frequency = 0 0 * * *
command = $${logrotate:wrapper} command = $${logrotate:wrapper}
[cron-entry-mariadb-backup]
<= cron
recipe = slapos.cookbook:cron.d
name = mariadb-backup
frequency = 0 0 * * *
command = $${mariadb-instance:backup-script}
[binary-link] [binary-link]
recipe = slapos.cookbook:symbolic.link recipe = slapos.cookbook:symbolic.link
target-directory = $${rootdirectory:bin} target-directory = $${rootdirectory:bin}
......
...@@ -23,7 +23,7 @@ unzip = true ...@@ -23,7 +23,7 @@ unzip = true
[template-mariadb] [template-mariadb]
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-mariadb.cfg url = ${:_profile_base_location_}/instance-mariadb.cfg
md5sum = f6e5fb6334fa6e4dbb4da3103837f8b0 md5sum = 4abee8c56d98f10e16d1909ca47ed3a8
output = ${buildout:directory}/template-mariadb.cfg output = ${buildout:directory}/template-mariadb.cfg
mode = 0644 mode = 0644
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment