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
Lu Xu
slapos
Commits
c7fd0874
Commit
c7fd0874
authored
Nov 16, 2011
by
Antoine Catton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify stack/lamp in order to switch easily to backup.
parent
41b42af9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
1 deletion
+29
-1
stack/lamp/buildout.cfg
stack/lamp/buildout.cfg
+8
-1
stack/lamp/instance-use-backup.cfg
stack/lamp/instance-use-backup.cfg
+20
-0
stack/lamp/instance.cfg
stack/lamp/instance.cfg
+1
-0
No files found.
stack/lamp/buildout.cfg
View file @
c7fd0874
...
...
@@ -76,7 +76,7 @@ strip-top-level-dir = true
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
md5sum =
f4e4cf75225685e1787c0bc6d1c16910
md5sum =
d7a6e9bbde95bf8bbb3f1844aefd789a
mode = 0644
[template-apache-php]
...
...
@@ -93,6 +93,13 @@ output = ${buildout:directory}/template-backuped.cfg
md5sum = 4190baa5e3f87a02e8721aeac3b70942
mode = 0644
[template-use-backup]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-use-backup.cfg
output = ${buildout:directory}/template-use-backup.cfg
md5sum = e2e0fe0da5d2944feba0991b8948d04b
mode = 0644
[template-mariadb]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-mariadb.cfg
...
...
stack/lamp/instance-use-backup.cfg
0 → 100644
View file @
c7fd0874
[buildout]
extends =
${template-backuped:output}
[mariadb-urlparse]
recipe = slapos.cookbook:urlparse
url = $${request-mariadb-pseudo-replicating:connection-url}
[request-mariadb]
software-type = mariadb-pbsready-import
[request-mariadb-pseudo-replicating]
software-type = mariadb-pbsready-export
[request-pull-backup-server-mariadb]
config-type = push
[request-pull-backup-server-mariadb-backup]
config-type = pull
stack/lamp/instance.cfg
View file @
c7fd0874
...
...
@@ -10,6 +10,7 @@ offline = true
recipe = slapos.cookbook:softwaretype
default = ${template-apache-php:output}
backuped = ${template-backuped:output}
use-backup = ${template-use-backup:output}
mariadb = ${template-mariadb:output}
mariadb-pbsready-import = ${template-mariadb-pbsready-import:output}
mariadb-pbsready-export = ${template-mariadb-pbsready-export:output}
...
...
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