Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
ac0d8b20
Commit
ac0d8b20
authored
Feb 05, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed templates and sections
parent
bf845eb4
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
10 deletions
+14
-10
stack/lamp/buildout.cfg
stack/lamp/buildout.cfg
+4
-4
stack/lamp/instance-resilient.cfg.jinja2
stack/lamp/instance-resilient.cfg.jinja2
+2
-0
stack/lamp/instance.cfg.in
stack/lamp/instance.cfg.in
+1
-1
stack/lapp/buildout.cfg
stack/lapp/buildout.cfg
+4
-4
stack/lapp/instance-resilient.cfg.jinja2
stack/lapp/instance-resilient.cfg.jinja2
+2
-0
stack/lapp/instance.cfg.in
stack/lapp/instance.cfg.in
+1
-1
No files found.
stack/lamp/buildout.cfg
View file @
ac0d8b20
...
@@ -64,7 +64,7 @@ strip-top-level-dir = true
...
@@ -64,7 +64,7 @@ strip-top-level-dir = true
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg.in
url = ${:_profile_base_location_}/instance.cfg.in
output = ${buildout:directory}/instance.cfg
output = ${buildout:directory}/instance.cfg
md5sum =
38bdcf0a8263d4a19bd6a35c0cd00340
md5sum =
b997c019109d386c119a70bd53d34acb
mode = 0644
mode = 0644
[instance-apache-php]
[instance-apache-php]
...
@@ -81,9 +81,9 @@ output = ${buildout:directory}/instance-apache-backup.cfg
...
@@ -81,9 +81,9 @@ output = ${buildout:directory}/instance-apache-backup.cfg
md5sum = 48f969d82319a9d145570f5f0fd27672
md5sum = 48f969d82319a9d145570f5f0fd27672
mode = 0644
mode = 0644
[
template-resilient-lamp
]
[
instance-resilient
]
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/
template-resilient.cfg.in
template = ${:_profile_base_location_}/
instance-resilient.cfg.jinja2
rendered = ${buildout:directory}/instance-resilient.cfg
rendered = ${buildout:directory}/instance-resilient.cfg
context = key templateapache instance-apache-php:output
context = key templateapache instance-apache-php:output
...
@@ -93,7 +93,7 @@ context = key templateapache instance-apache-php:output
...
@@ -93,7 +93,7 @@ context = key templateapache instance-apache-php:output
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 =
5605ad8896c2718854bf26148c4ae940
md5sum =
15697876aefa8ec504e91b122b58ec19
mode = 0644
mode = 0644
...
...
stack/lamp/
template-resilient.cfg.in
→
stack/lamp/
instance-resilient.cfg.jinja2
View file @
ac0d8b20
# vim: set ft=cfg:
{% import 'parts' as parts %}
{% import 'parts' as parts %}
{% import 'replicated' as replicated %}
{% import 'replicated' as replicated %}
...
...
stack/lamp/instance.cfg.in
View file @
ac0d8b20
...
@@ -10,7 +10,7 @@ offline = true
...
@@ -10,7 +10,7 @@ offline = true
[switch_softwaretype]
[switch_softwaretype]
recipe = slapos.cookbook:softwaretype
recipe = slapos.cookbook:softwaretype
default = ${instance-apache-php:output}
default = ${instance-apache-php:output}
resilient = ${
template-resilient-lamp
:rendered}
resilient = ${
instance-resilient
:rendered}
mariadb = ${instance-mariadb:output}
mariadb = ${instance-mariadb:output}
mariadb-import = ${instance-mariadb-import:output}
mariadb-import = ${instance-mariadb-import:output}
mariadb-export = ${instance-mariadb-export:output}
mariadb-export = ${instance-mariadb-export:output}
...
...
stack/lapp/buildout.cfg
View file @
ac0d8b20
...
@@ -50,7 +50,7 @@ strip-top-level-dir = true
...
@@ -50,7 +50,7 @@ strip-top-level-dir = true
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg.in
url = ${:_profile_base_location_}/instance.cfg.in
output = ${buildout:directory}/instance.cfg
output = ${buildout:directory}/instance.cfg
md5sum =
1aaf3ea7b14e09e66904bdb80e3cfe2f
md5sum =
7e09e857ea14fee4a43a771afeafb677
mode = 0644
mode = 0644
[instance-apache-php]
[instance-apache-php]
...
@@ -67,9 +67,9 @@ output = ${buildout:directory}/instance-apache-backup.cfg
...
@@ -67,9 +67,9 @@ output = ${buildout:directory}/instance-apache-backup.cfg
md5sum = db879141c0b6a77ef8b3b7e699f5583a
md5sum = db879141c0b6a77ef8b3b7e699f5583a
mode = 0644
mode = 0644
[
template-resilient-lapp
]
[
instance-resilient
]
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/
template-resilient.cfg.in
template = ${:_profile_base_location_}/
instance-resilient.cfg.jinja2
rendered = ${buildout:directory}/instance-resilient.cfg
rendered = ${buildout:directory}/instance-resilient.cfg
context = key templateapache instance-apache-php:output
context = key templateapache instance-apache-php:output
...
@@ -79,7 +79,7 @@ context = key templateapache instance-apache-php:output
...
@@ -79,7 +79,7 @@ context = key templateapache instance-apache-php:output
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 =
525f50e60d0a96557a552de6afa4ab88
md5sum =
46c7d8f691bd37d84e0bd03b83e51d14
mode = 0644
mode = 0644
...
...
stack/lapp/
template-resilient.cfg.in
→
stack/lapp/
instance-resilient.cfg.jinja2
View file @
ac0d8b20
# vim: set ft=cfg:
{% import 'parts' as parts %}
{% import 'parts' as parts %}
{% import 'replicated' as replicated %}
{% import 'replicated' as replicated %}
...
...
stack/lapp/instance.cfg.in
View file @
ac0d8b20
...
@@ -11,7 +11,7 @@ offline = true
...
@@ -11,7 +11,7 @@ offline = true
recipe = slapos.cookbook:softwaretype
recipe = slapos.cookbook:softwaretype
default = ${instance-default-root:output}
default = ${instance-default-root:output}
apache = ${instance-apache-php:output}
apache = ${instance-apache-php:output}
resilient = ${
template-resilient-lapp
:rendered}
resilient = ${
instance-resilient
:rendered}
postgres = ${instance-postgres:output}
postgres = ${instance-postgres:output}
postgres-import = ${instance-postgres-import:output}
postgres-import = ${instance-postgres-import:output}
postgres-export = ${instance-postgres-export:output}
postgres-export = ${instance-postgres-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