Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos
Commits
476b0a23
Commit
476b0a23
authored
Jan 17, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forgot to move options
parent
123fac74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
slapos/recipe/logrotate.py
slapos/recipe/logrotate.py
+1
-2
No files found.
slapos/recipe/logrotate.py
View file @
476b0a23
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment