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
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
Cédric Le Ninivin
slapos
Commits
f8f473da
Commit
f8f473da
authored
Feb 22, 2013
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 'edge' support for lamp-generic with 'edge' software_type.
parent
5d1f1cd7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
15 deletions
+21
-15
software/lamp-generic/instance-edge.cfg.in
software/lamp-generic/instance-edge.cfg.in
+17
-11
software/lamp-generic/instance.cfg.in
software/lamp-generic/instance.cfg.in
+1
-1
software/lamp-generic/software.cfg
software/lamp-generic/software.cfg
+3
-3
No files found.
software/lamp-generic/instance-edge.cfg.in
View file @
f8f473da
...
@@ -4,20 +4,26 @@
...
@@ -4,20 +4,26 @@
[buildout]
[buildout]
parts =
parts =
directory
request-edge
publish-connection-parameter
eggs-directory = ${buildout:eggs-directory}
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true
offline = true
#----------------
[request-edge]
#--
<= slap-connection
#-- Creation of all needed directories.
recipe = slapos.cookbook:request.edge
# This magic parameter triggers several requests, one request per country.
name = lamp
return = url backend-url
country-list = $${slap-parameter:country-list}
software-url = $${slap-connection:software-release-url}
software-type = default
config = application-location
config-application-location = $${slap-parameter:application-location}
return = url backend-url
[directory]
[publish-connection-parameter]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:publishsection
etc = $${buildout:directory}/etc
section-list = request-edge
var = $${buildout:directory}/var
srv = $${buildout:directory}/srv
bin = $${buildout:directory}/bin
tmp = $${buildout:directory}/tmp
\ No newline at end of file
software/lamp-generic/instance.cfg.in
View file @
f8f473da
...
@@ -10,4 +10,4 @@ offline = true
...
@@ -10,4 +10,4 @@ offline = true
[switch_softwaretype]
[switch_softwaretype]
recipe = slapos.cookbook:softwaretype
recipe = slapos.cookbook:softwaretype
default = ${instance-apache-php:output}
default = ${instance-apache-php:output}
edge = ${instance-edge:output}
edge = ${instance-edge:output}
\ No newline at end of file
software/lamp-generic/software.cfg
View file @
f8f473da
...
@@ -9,7 +9,7 @@ parts +=
...
@@ -9,7 +9,7 @@ parts +=
[instance]
[instance]
url = ${:_profile_base_location_}/instance.cfg.in
url = ${:_profile_base_location_}/instance.cfg.in
md5sum =
10c316c7a1c18ea1d26bf319b5dffed1
md5sum =
26ac6629a83869140189a85e581e822f
[instance-apache-php]
[instance-apache-php]
url = ${:_profile_base_location_}/instance-apache-php.cfg.in
url = ${:_profile_base_location_}/instance-apache-php.cfg.in
...
@@ -18,6 +18,6 @@ md5sum = fdc849c9f49b9d2fb043bf229d24076b
...
@@ -18,6 +18,6 @@ md5sum = fdc849c9f49b9d2fb043bf229d24076b
[instance-edge]
[instance-edge]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-edge.cfg.in
url = ${:_profile_base_location_}/instance-edge.cfg.in
output = ${buildout:directory}/instance.cfg
output = ${buildout:directory}/instance
-edge
.cfg
md5sum = 67fbac150093c36080925926afef8ba
1
#md5sum = 6b7a6caf44e3a94bed7f89c04003a17
1
mode = 0644
mode = 0644
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