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
Labels
Merge Requests
105
Merge Requests
105
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
dd776175
Commit
dd776175
authored
Nov 18, 2024
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stack/lamp: prefix the name of the instance with the root instance's title
parent
a68acc77
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
stack/lamp/buildout.hash.cfg
stack/lamp/buildout.hash.cfg
+2
-2
stack/lamp/instance-lamp.cfg.jinja2.in
stack/lamp/instance-lamp.cfg.jinja2.in
+2
-2
stack/lamp/instance.cfg.in
stack/lamp/instance.cfg.in
+1
-0
No files found.
stack/lamp/buildout.hash.cfg
View file @
dd776175
...
...
@@ -14,7 +14,7 @@
# not need these here).
[lamp-instance]
filename = instance.cfg.in
md5sum =
f34548ba607becf3acd5c5e3d8e70551
md5sum =
663d65b8ae91f3db718a584e9e6bb4a5
[instance-apache-php]
filename = instance-apache-php.cfg.in
...
...
@@ -22,7 +22,7 @@ md5sum = 41602a61d5f9609281dbfa3f27da0626
[instance-lamp]
filename = instance-lamp.cfg.jinja2.in
md5sum =
de1f450a80547d12334b712016138078
md5sum =
f4081a8aabbb75faf5fd00ac2e0e7810
[template-apache.conf]
filename = apache.conf.in
...
...
stack/lamp/instance-lamp.cfg.jinja2.in
View file @
dd776175
...
...
@@ -20,7 +20,7 @@ partition-id = ${slap-connection:partition-id}
[request-apache]
<= request-common
software-type = apache
name = apache-php
name =
{{ instance_title }}_
apache-php
sla-computer_guid = {{ dumps(slapparameter_dict.get('apache-computer-guid', '')) }}
{% for key, value in slapparameter_dict.items() -%}
{% if key.startswith('instance.') -%}
...
...
@@ -42,7 +42,7 @@ return =
[request-mariadb]
<= request-common
software-type = mariadb
name = Mariadb
name =
{{ instance_title }}_
Mariadb
sla-computer_guid = {{ dumps(slapparameter_dict.get('mariadb-computer-guid', '')) }}
config-database-list = {{ dumps([{'name': db_name, 'user': db_user, 'password': db_password }]) }}
config-test-database-amount = {{ dumps(0) }}
...
...
stack/lamp/instance.cfg.in
View file @
dd776175
...
...
@@ -32,6 +32,7 @@ context =
key ipv4 slap-configuration:ipv4
key ipv6 slap-configuration:ipv6
key slapparameter_dict slap-configuration:configuration
key instance_title slap-configuration:instance-title
key computer_id slap-configuration:computer
raw template_monitor {{ template_monitor }}
raw openssl_location {{ openssl_location }}
...
...
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