Commit 476b0a23 authored by Romain Courteaud's avatar Romain Courteaud

Forgot to move options

parent 123fac74
...@@ -31,7 +31,6 @@ from slapos.recipe.librecipe import GenericBaseRecipe ...@@ -31,7 +31,6 @@ from slapos.recipe.librecipe import GenericBaseRecipe
class Recipe(GenericBaseRecipe): class Recipe(GenericBaseRecipe):
def install(self): def install(self):
logrotate_backup = self.options['backup']
logrotate_d = self.options['logrotate-entries'] logrotate_d = self.options['logrotate-entries']
logrotate_conf_file = self.options['conf'] logrotate_conf_file = self.options['conf']
...@@ -69,7 +68,7 @@ class Part(GenericBaseRecipe): ...@@ -69,7 +68,7 @@ class Part(GenericBaseRecipe):
'notifempty', 'notifempty',
'sharedscripts', 'sharedscripts',
'create', 'create',
'olddir %s' % logrotate_backup, 'olddir %s' % self.options['backup'],
] ]
if 'post' in self.options: if 'post' in self.options:
......
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