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
332f1f3f
Commit
332f1f3f
authored
Mar 05, 2013
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'lapp-resilient3'
parents
513c3cc9
5cc00f00
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
22 deletions
+21
-22
component/apache-php/buildout.cfg
component/apache-php/buildout.cfg
+3
-2
slapos/recipe/request.py
slapos/recipe/request.py
+2
-1
stack/lamp/apache/instance-apache-export.cfg.jinja2
stack/lamp/apache/instance-apache-export.cfg.jinja2
+0
-3
stack/lamp/apache/instance-apache-php.cfg.in
stack/lamp/apache/instance-apache-php.cfg.in
+12
-14
stack/lamp/buildout.cfg
stack/lamp/buildout.cfg
+4
-2
No files found.
component/apache-php/buildout.cfg
View file @
332f1f3f
...
...
@@ -22,8 +22,8 @@ extends =
recipe = hexagonit.recipe.cmmi
depends =
${mariadb:version}
url = http://fr2.php.net/distributions/php-5.
3.13.tar.gz
md5sum =
179c67ce347680f468edbfc3c425476a
url = http://fr2.php.net/distributions/php-5.
4.12.tar.bz2
md5sum =
5c7b614242ae12e9cacca21c8ab84818
configure-options =
--with-apxs2=${apache:location}/bin/apxs
--with-libxml-dir=${libxml2:location}
...
...
@@ -65,6 +65,7 @@ environment =
PATH=${pkgconfig:location}/bin:${bzip2:location}/bin:${libxml2:location}/bin:%(PATH)s
LDFLAGS =-L${bzip2:location}/lib -Wl,-rpath -Wl,${bzip2:location}/lib -L${libtool:location}/lib -Wl,-rpath -Wl,${libtool:location}/lib -L${mariadb:location}/lib -Wl,-rpath -Wl,${mariadb:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -L${libmcrypt:location}/lib -Wl,-rpath -Wl,${libmcrypt:location}/libblkid
TMPDIR=${buildout:parts-directory}/${:_buildout_section_name_}
HOME=${apache:location}
...
...
slapos/recipe/request.py
View file @
332f1f3f
...
...
@@ -127,10 +127,11 @@ class Recipe(object):
return_parameters
)
if
not
slave
:
# XXX: convention: should be instance-guid
options
[
'instance_guid'
]
=
self
.
instance
.
getId
()
options
[
'instance_guid'
]
=
self
.
instance
.
getI
nstanceGui
d
()
except
(
slapmodule
.
NotFoundError
,
slapmodule
.
ServerError
,
slapmodule
.
ResourceNotReady
)
as
exc
:
self
.
_raise_request_exception
=
exc
self
.
_raise_request_exception_formatted
=
traceback
.
format_exc
()
return_parameter_dict
=
{}
for
param
in
return_parameters
:
options
[
'connection-%s'
%
param
]
=
''
...
...
stack/lamp/apache/instance-apache-export.cfg.jinja2
View file @
332f1f3f
...
...
@@ -23,9 +23,6 @@ parts +=
cron
cron-entry-logrotate
promise
slapmonitor
slapmonitor-xml
frontend-promise
content-promise
publish-connection-informations
...
...
stack/lamp/apache/instance-apache-php.cfg.in
View file @
332f1f3f
...
...
@@ -9,8 +9,6 @@ parts =
cron
cron-entry-logrotate
promise
slapmonitor
slapmonitor-xml
frontend-promise
content-promise
...
...
@@ -249,18 +247,18 @@ config-custom_domain = $${slap-parameter:domain}
#--
#-- Deploy slapmonitor.
[slapmonitor]
recipe = slapos.cookbook:slapmonitor
pid-file = $${basedirectory:run}/apache.pid
database-path = $${basedirectory:log}/slapmonitor.db
slapmonitor-path = ${buildout:bin-directory}/slapmonitor
path = $${basedirectory:services}/slapmonitor
[slapmonitor-xml]
recipe = slapos.cookbook:slapmonitor-xml
database-path = $${basedirectory:log}/slapmonitor.db
slapmonitor-xml-path = ${buildout:bin-directory}/slapmonitor-xml
path = $${directory:report}/slapmonitor-xml
#
[slapmonitor]
#
recipe = slapos.cookbook:slapmonitor
#
pid-file = $${basedirectory:run}/apache.pid
#
database-path = $${basedirectory:log}/slapmonitor.db
#
slapmonitor-path = ${buildout:bin-directory}/slapmonitor
#
path = $${basedirectory:services}/slapmonitor
#
#
[slapmonitor-xml]
#
recipe = slapos.cookbook:slapmonitor-xml
#
database-path = $${basedirectory:log}/slapmonitor.db
#
slapmonitor-xml-path = ${buildout:bin-directory}/slapmonitor-xml
#
path = $${directory:report}/slapmonitor-xml
#----------------
...
...
stack/lamp/buildout.cfg
View file @
332f1f3f
...
...
@@ -74,7 +74,7 @@ mode = 0644
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/apache/instance-apache-php.cfg.in
output = ${buildout:directory}/instance-apache-php.cfg
md5sum =
0538b05d27d8a64e89f898c09eb57716
md5sum =
2440496923a8ccb6f5251801bf685b83
mode = 0644
[instance-apache-import]
...
...
@@ -95,7 +95,7 @@ context = key templateapache instance-apache-php:output
import-list = file parts template-parts:destination
file replicated template-replicated:destination
md5sum =
2dc6134621b8a12817d43a979b84089a
md5sum =
4704f2788f096c7494694db72a9f6193
mode = 0644
[instance-resilient]
...
...
@@ -310,6 +310,8 @@ slapos.recipe.template = 2.4.2
slapos.toolbox = 0.33
smmap = 0.8.2
plone.recipe.command = 1.1
# Required by:
# slapos.core==0.35.1
# slapos.toolbox==0.33
...
...
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