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
Labels
Merge Requests
103
Merge Requests
103
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
4db10c16
Commit
4db10c16
authored
Oct 25, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Experimental way to customize LAMP stack
parent
a682fd7f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
software/drupal/software.cfg
software/drupal/software.cfg
+5
-0
stack/lamp/apache/instance-apache-php.cfg
stack/lamp/apache/instance-apache-php.cfg
+2
-0
stack/lamp/buildout.cfg
stack/lamp/buildout.cfg
+12
-0
No files found.
software/drupal/software.cfg
View file @
4db10c16
...
@@ -19,3 +19,8 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
...
@@ -19,3 +19,8 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
[application-configuration]
[application-configuration]
location = sites/default/default.settings.php
location = sites/default/default.settings.php
[custom-application-deployment]
path = {:_profile_base_location_}/instance.cfg
part-list =
setup-database
stack/lamp/apache/instance-apache-php.cfg
View file @
4db10c16
[buildout]
[buildout]
extends = ${custom-php-part:path}
parts =
parts =
certificate-authority
certificate-authority
...
@@ -14,6 +15,7 @@ parts =
...
@@ -14,6 +15,7 @@ parts =
frontend-promise
frontend-promise
content-promise
content-promise
publish-connection-informations
publish-connection-informations
${custom-php-part:part-list}
eggs-directory = ${buildout:eggs-directory}
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
...
...
stack/lamp/buildout.cfg
View file @
4db10c16
...
@@ -61,6 +61,18 @@ recipe = hexagonit.recipe.download
...
@@ -61,6 +61,18 @@ recipe = hexagonit.recipe.download
#If provided tarball does not containt top directory this option shall be changed to false
#If provided tarball does not containt top directory this option shall be changed to false
strip-top-level-dir = true
strip-top-level-dir = true
[custom-application-deployment]
# Optional part allowing applications using this stack to run a custom
# instance.cfg at the end of Apache/PHP instance deployment.
# To use it in your application, just override those two parameters, like:
# path = /path/to/instance-custom.cfg
# part-list =
# part1
# part2
# See software/drupal/software.cfg for an example.
path =
part-list =
[template]
[template]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
url = ${:_profile_base_location_}/instance.cfg
...
...
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