Commit 465d4eb9 authored by Nicolas Wavrant's avatar Nicolas Wavrant

resilient: adds a logrotate entry for resilient log

parent 523ca7b9
...@@ -41,7 +41,7 @@ eggs = ...@@ -41,7 +41,7 @@ eggs =
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/pbsready.cfg.in url = ${:_profile_base_location_}/pbsready.cfg.in
output = ${buildout:directory}/pbsready.cfg output = ${buildout:directory}/pbsready.cfg
md5sum = 6e3bd92750407c8d6eaffde2fc94d000 md5sum = d1b817ec1bc2527dfb540ba51e9df0b4
mode = 0644 mode = 0644
[pbsready-import] [pbsready-import]
...@@ -50,7 +50,7 @@ mode = 0644 ...@@ -50,7 +50,7 @@ mode = 0644
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/pbsready-import.cfg.in url = ${:_profile_base_location_}/pbsready-import.cfg.in
output = ${buildout:directory}/pbsready-import.cfg output = ${buildout:directory}/pbsready-import.cfg
md5sum = 8b4d5288f18b5404a8d87279e5dd1fde md5sum = df9e3c485b7f142d87d58dbb29b88a59
mode = 0644 mode = 0644
[pbsready-export] [pbsready-export]
...@@ -59,7 +59,7 @@ mode = 0644 ...@@ -59,7 +59,7 @@ mode = 0644
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/pbsready-export.cfg.in url = ${:_profile_base_location_}/pbsready-export.cfg.in
output = ${buildout:directory}/pbsready-export.cfg output = ${buildout:directory}/pbsready-export.cfg
md5sum = 195ab54f73883d150e45cd3339b91 md5sum = d58c69291fd492241f297c5a1b1160f2
mode = 0644 mode = 0644
[template-pull-backup] [template-pull-backup]
......
...@@ -8,6 +8,7 @@ parts = ...@@ -8,6 +8,7 @@ parts =
logrotate logrotate
logrotate-entry-cron logrotate-entry-cron
logrotate-entry-equeue logrotate-entry-equeue
logrotate-entry-resilient
cron cron
cron-entry-logrotate cron-entry-logrotate
resilient-sshkeys-authority resilient-sshkeys-authority
......
...@@ -9,6 +9,7 @@ parts = ...@@ -9,6 +9,7 @@ parts =
logrotate-entry-cron logrotate-entry-cron
logrotate-entry-equeue logrotate-entry-equeue
logrotate-entry-notifier logrotate-entry-notifier
logrotate-entry-resilient
cron cron
cron-entry-logrotate cron-entry-logrotate
resilient-sshkeys-authority resilient-sshkeys-authority
......
...@@ -5,6 +5,7 @@ parts = ...@@ -5,6 +5,7 @@ parts =
logrotate-entry-cron logrotate-entry-cron
logrotate-entry-equeue logrotate-entry-equeue
logrotate-entry-notifier logrotate-entry-notifier
logrotate-entry-resilient
cron cron
cron-entry-logrotate cron-entry-logrotate
resilient-sshkeys-authority resilient-sshkeys-authority
...@@ -140,6 +141,14 @@ input = inline: ...@@ -140,6 +141,14 @@ input = inline:
} }
output = $${logrotate:logrotate-entries}/notifier output = $${logrotate:logrotate-entries}/notifier
[logrotate-entry-resilient]
<= logrotate
recipe = slapos.cookbook:logrotate.d
name = resilient_log
log = $${basedirectory:log}/resilient.log
frequency = weekly
rotate-num = 7
#---------------- #----------------
#-- #--
#-- Sets up an rdiff-backup server (with a openssh server for ssh) #-- Sets up an rdiff-backup server (with a openssh server for ssh)
......
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