Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mynij
slapos-mynij-dev
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