Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
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
Mynij
slapos-mynij-dev
Commits
c7fd0874
Commit
c7fd0874
authored
13 years ago
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
No related merge requests found
Changes
3
Show 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
...
@@ -76,7 +76,7 @@ strip-top-level-dir = true
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
output = ${buildout:directory}/template.cfg
md5sum =
f4e4cf75225685e1787c0bc6d1c16910
md5sum =
d7a6e9bbde95bf8bbb3f1844aefd789a
mode = 0644
mode = 0644
[template-apache-php]
[template-apache-php]
...
@@ -93,6 +93,13 @@ output = ${buildout:directory}/template-backuped.cfg
...
@@ -93,6 +93,13 @@ output = ${buildout:directory}/template-backuped.cfg
md5sum = 4190baa5e3f87a02e8721aeac3b70942
md5sum = 4190baa5e3f87a02e8721aeac3b70942
mode = 0644
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]
[template-mariadb]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-mariadb.cfg
url = ${:_profile_base_location_}/instance-mariadb.cfg
...
...
This diff is collapsed.
Click to expand it.
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
This diff is collapsed.
Click to expand it.
stack/lamp/instance.cfg
View file @
c7fd0874
...
@@ -10,6 +10,7 @@ offline = true
...
@@ -10,6 +10,7 @@ offline = true
recipe = slapos.cookbook:softwaretype
recipe = slapos.cookbook:softwaretype
default = ${template-apache-php:output}
default = ${template-apache-php:output}
backuped = ${template-backuped:output}
backuped = ${template-backuped:output}
use-backup = ${template-use-backup:output}
mariadb = ${template-mariadb:output}
mariadb = ${template-mariadb:output}
mariadb-pbsready-import = ${template-mariadb-pbsready-import:output}
mariadb-pbsready-import = ${template-mariadb-pbsready-import:output}
mariadb-pbsready-export = ${template-mariadb-pbsready-export:output}
mariadb-pbsready-export = ${template-mariadb-pbsready-export:output}
...
...
This diff is collapsed.
Click to expand it.
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