Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos-caddy
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Guillaume Hervier
slapos-caddy
Commits
217990a5
Commit
217990a5
authored
Oct 19, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow current profile changes.
parent
3ec22f0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
slapos/recipe/haproxy/__init__.py
slapos/recipe/haproxy/__init__.py
+3
-2
No files found.
slapos/recipe/haproxy/__init__.py
View file @
217990a5
...
...
@@ -72,7 +72,8 @@ class Recipe(GenericBaseRecipe):
# Prepare all filestorages
server_snippet
=
""
i
=
0
for
address
in
self
.
options
[
'address'
].
split
():
name
=
self
.
options
[
'name'
]
for
address
in
self
.
options
[
'backend-list'
].
split
():
i
+=
1
server_snippet
+=
self
.
substituteTemplate
(
snippet_filename
,
dict
(
...
...
@@ -85,7 +86,7 @@ class Recipe(GenericBaseRecipe):
ip
=
self
.
options
[
'ip'
],
port
=
self
.
options
[
'port'
],
server_text
=
server_snippet
,
server_check_path
=
se
rver_check_path
,)
server_check_path
=
se
lf
.
options
[
'server-check-path'
]
,)
template_filename
=
self
.
getTemplateFilename
(
'haproxy.cfg.in'
)
configuration_path
=
self
.
createFile
(
self
.
options
[
'conf-path'
],
...
...
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