Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
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
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
Léo-Paul Géneau
slapos
Commits
58f4bdf5
Commit
58f4bdf5
authored
Jul 24, 2013
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
varnish: Provide backend-url to recipe as parameter.
parent
be50f997
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
software/varnish/instance-varnish.cfg.in
software/varnish/instance-varnish.cfg.in
+1
-0
software/varnish/software.cfg
software/varnish/software.cfg
+1
-1
No files found.
software/varnish/instance-varnish.cfg.in
View file @
58f4bdf5
...
@@ -23,6 +23,7 @@ url = http://${varnish-instance:ip}:${varnish-instance:server-port}/
...
@@ -23,6 +23,7 @@ url = http://${varnish-instance:ip}:${varnish-instance:server-port}/
[varnish-instance]
[varnish-instance]
recipe = slapos.cookbook:generic.varnish
recipe = slapos.cookbook:generic.varnish
backend-url = {{ slapparameter_dict['backend-url'] }}
# Network options
# Network options
ip = ${slap-network-information:local-ipv4}
ip = ${slap-network-information:local-ipv4}
...
...
software/varnish/software.cfg
View file @
58f4bdf5
...
@@ -87,7 +87,7 @@ extra-context =
...
@@ -87,7 +87,7 @@ extra-context =
[template-varnish]
[template-varnish]
recipe = slapos.recipe.build:download
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-varnish.cfg.in
url = ${:_profile_base_location_}/instance-varnish.cfg.in
md5sum =
d1d174222fccd76729ac9e4c36be0a0a
md5sum =
699d31010ec9924093dfdc8f4f40d341
mode = 640
mode = 640
[eggs]
[eggs]
...
...
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