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
6758aaf9
Commit
6758aaf9
authored
Sep 26, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup
Comments, trailing spaces, dead code
parent
b38f30bb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
16 deletions
+4
-16
slapos/recipe/addresiliency/__init__.py
slapos/recipe/addresiliency/__init__.py
+0
-7
stack/lamp/buildout.cfg
stack/lamp/buildout.cfg
+1
-4
stack/lamp/instance-resilient.cfg
stack/lamp/instance-resilient.cfg
+2
-3
stack/resilient/buildout.cfg
stack/resilient/buildout.cfg
+0
-1
stack/resilient/template-replicated.cfg
stack/resilient/template-replicated.cfg
+1
-1
No files found.
slapos/recipe/addresiliency/__init__.py
View file @
6758aaf9
...
@@ -71,13 +71,6 @@ class Recipe(GenericSlapRecipe):
...
@@ -71,13 +71,6 @@ class Recipe(GenericSlapRecipe):
bully_conf
))
bully_conf
))
path_list
.
append
(
script
)
path_list
.
append
(
script
)
# for testing purposes only
scriptNew
=
self
.
createExecutable
(
path_bully_new
,
self
.
substituteTemplate
(
self
.
getTemplateFilename
(
'bully_new.py.in'
),
bully_conf
))
path_list
.
append
(
scriptNew
)
wrapper
=
self
.
createPythonScript
(
wrapper
=
self
.
createPythonScript
(
path_run
,
path_run
,
'slapos.recipe.librecipe.execute.execute'
,
'slapos.recipe.librecipe.execute.execute'
,
...
...
stack/lamp/buildout.cfg
View file @
6758aaf9
...
@@ -2,9 +2,6 @@
...
@@ -2,9 +2,6 @@
ignore-existing = true
ignore-existing = true
develop =
/opt/slapdev
parts =
parts =
apache-php
apache-php
mariadb
mariadb
...
@@ -95,7 +92,7 @@ context = key templateapache template-apache-php:output
...
@@ -95,7 +92,7 @@ context = key templateapache template-apache-php:output
key buildout buildout:bin-directory
key buildout buildout:bin-directory
import-list = file parts template-parts:destination
import-list = file parts template-parts:destination
file replicated template-replicated:destination
file replicated template-replicated:destination
md5sum = 2488daff81286a1b6be6dbc1ad3b0d7d
md5sum = 2488daff81286a1b6be6dbc1ad3b0d7d
mode = 0644
mode = 0644
...
...
stack/lamp/instance-resilient.cfg
View file @
6758aaf9
...
@@ -4,14 +4,13 @@
...
@@ -4,14 +4,13 @@
[buildout]
[buildout]
extends =
extends =
# ${template-resilient:output}
{{templateapache}}
{{templateapache}}
parts =
parts =
{{ parts.replicate("mariadb","3") }}
{{ parts.replicate("mariadb","3") }}
request-apache-backup-1
request-apache-backup-1
request-apache-backup-2
request-apache-backup-2
request-pull-backup-server-apache-1
request-pull-backup-server-apache-1
request-pull-backup-server-apache-backup-1
request-pull-backup-server-apache-backup-1
...
@@ -33,7 +32,7 @@ parts =
...
@@ -33,7 +32,7 @@ parts =
dropbear-server-pbs-authorized-key
dropbear-server-pbs-authorized-key
request-pull-backup-server
request-pull-backup-server
{{ replicated.replicate("mariadb", "3", "mariadb-export", "mariadb-import") }}
{{ replicated.replicate("mariadb", "3", "mariadb-export", "mariadb-import") }}
...
...
stack/resilient/buildout.cfg
View file @
6758aaf9
...
@@ -11,7 +11,6 @@ parts =
...
@@ -11,7 +11,6 @@ parts =
#Frozen is the state used to not destroy a broken instance's content
#Frozen is the state used to not destroy a broken instance's content
template-frozen
template-frozen
#
template-resilient
template-resilient
template-switchsoftware
template-switchsoftware
...
...
stack/resilient/template-replicated.cfg
View file @
6758aaf9
...
@@ -103,7 +103,7 @@ config-number = {{id}}
...
@@ -103,7 +103,7 @@ config-number = {{id}}
## Adding a PBS provides resiliency
## Adding a PBS provides resiliency
## Adding a backup server provides availability
## Adding a backup server provides availability
## Having 3 backups pulling from the same PBS provides
## Having 3 backups pulling from the same PBS provides
##only availability, not resiliency
##only availability, not resiliency
## WARNING : SLAVES ARE ALLOCATED AT RANDOM, THIS NEEDS TO BE FIXED.
## WARNING : SLAVES ARE ALLOCATED AT RANDOM, THIS NEEDS TO BE FIXED.
...
...
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