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
Hardik Juneja
slapos
Commits
3c2bd026
Commit
3c2bd026
authored
Jul 07, 2017
by
Hardik Juneja
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update powerdns SR to include to render montiro on instance side
parent
1f3f40b3
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
26 additions
and
13 deletions
+26
-13
software/kvm/common.cfg
software/kvm/common.cfg
+1
-1
software/kvm/instance.cfg.in
software/kvm/instance.cfg.in
+9
-3
software/powerdns/instance-powerdns.cfg
software/powerdns/instance-powerdns.cfg
+1
-1
software/powerdns/instance.cfg
software/powerdns/instance.cfg
+8
-1
software/powerdns/software.cfg
software/powerdns/software.cfg
+2
-2
software/slaprunner/buildout.hash.cfg
software/slaprunner/buildout.hash.cfg
+1
-1
software/slaprunner/instance.cfg
software/slaprunner/instance.cfg
+1
-1
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+1
-1
stack/monitor/buildout.cfg
stack/monitor/buildout.cfg
+2
-2
No files found.
software/kvm/common.cfg
View file @
3c2bd026
...
@@ -89,7 +89,7 @@ command =
...
@@ -89,7 +89,7 @@ command =
[template]
[template]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg.in
url = ${:_profile_base_location_}/instance.cfg.in
md5sum =
f40a938400e789361c95d5a9246bf0ef
md5sum =
e5e140808f0f9f360e1afd38277edd65
output = ${buildout:directory}/template.cfg
output = ${buildout:directory}/template.cfg
mode = 0644
mode = 0644
...
...
software/kvm/instance.cfg.in
View file @
3c2bd026
...
@@ -68,7 +68,7 @@ extra-context =
...
@@ -68,7 +68,7 @@ extra-context =
raw logrotate_cfg ${template-logrotate-base:rendered}
raw logrotate_cfg ${template-logrotate-base:rendered}
raw template_content ${template-content:location}/${template-content:filename}
raw template_content ${template-content:location}/${template-content:filename}
raw template_httpd_cfg ${template-httpd:rendered}
raw template_httpd_cfg ${template-httpd:rendered}
raw template_monitor ${
monitor2-template
:rendered}
raw template_monitor ${
instance-monitor
:rendered}
[dynamic-template-kvm]
[dynamic-template-kvm]
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
...
@@ -101,7 +101,7 @@ context =
...
@@ -101,7 +101,7 @@ context =
raw template_content ${template-content:location}/${template-content:filename}
raw template_content ${template-content:location}/${template-content:filename}
raw template_kvm_controller_run ${template-kvm-controller:location}/${template-kvm-controller:filename}
raw template_kvm_controller_run ${template-kvm-controller:location}/${template-kvm-controller:filename}
raw template_kvm_run ${template-kvm-run:location}/${template-kvm-run:filename}
raw template_kvm_run ${template-kvm-run:location}/${template-kvm-run:filename}
raw template_monitor ${
monitor2-template
:rendered}
raw template_monitor ${
instance-monitor
:rendered}
raw websockify_executable_location ${buildout:directory}/bin/websockify
raw websockify_executable_location ${buildout:directory}/bin/websockify
template-parts-destination = ${template-parts:target}
template-parts-destination = ${template-parts:target}
template-replicated-destination = ${template-replicated:target}
template-replicated-destination = ${template-replicated:target}
...
@@ -119,7 +119,7 @@ context =
...
@@ -119,7 +119,7 @@ context =
key eggs_directory buildout:eggs-directory
key eggs_directory buildout:eggs-directory
key slapparameter_dict slap-configuration:configuration
key slapparameter_dict slap-configuration:configuration
raw curl_executable_location ${curl:location}/bin/curl
raw curl_executable_location ${curl:location}/bin/curl
raw template_monitor ${
monitor2-template
:rendered}
raw template_monitor ${
instance-monitor
:rendered}
template-parts-destination = ${template-parts:target}
template-parts-destination = ${template-parts:target}
template-replicated-destination = ${template-replicated:target}
template-replicated-destination = ${template-replicated:target}
import-list = file parts :template-parts-destination
import-list = file parts :template-parts-destination
...
@@ -157,3 +157,9 @@ context =
...
@@ -157,3 +157,9 @@ context =
raw gzip_binary ${gzip:location}/bin/gzip
raw gzip_binary ${gzip:location}/bin/gzip
mode = 0644
mode = 0644
[instance-monitor]
recipe = slapos.recipe.template:jinja2
template = ${monitor2-template:output}
rendered = ${buildout:directory}/template-monitor.cfg
extensions = jinja2.ext.do
mode = 0644
software/powerdns/instance-powerdns.cfg
View file @
3c2bd026
...
@@ -143,7 +143,7 @@ parts =
...
@@ -143,7 +143,7 @@ parts =
{{ ' %s' % part }}
{{ ' %s' % part }}
{% endfor %}
{% endfor %}
extends =
${monitor-template:output
}
extends =
{{template_monitor}
}
eggs-directory = {{ eggs_directory }}
eggs-directory = {{ eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
...
...
software/powerdns/instance.cfg
View file @
3c2bd026
...
@@ -43,7 +43,14 @@ extensions = jinja2.ext.do
...
@@ -43,7 +43,14 @@ extensions = jinja2.ext.do
extra-context =
extra-context =
# Must match the key id in [switch-softwaretype] which uses this section.
# Must match the key id in [switch-softwaretype] which uses this section.
raw software_type RootSoftwareInstance-default
raw software_type RootSoftwareInstance-default
raw template_monitor ${monitor2-template:rendered}
raw template_monitor $${instance-monitor:rendered}
[instance-monitor]
recipe = slapos.recipe.template:jinja2
template = $${monitor2-template:output}
rendered = ${buildout:directory}/template-monitor.cfg
extensions = jinja2.ext.do
mode = 0644
[slap-parameters]
[slap-parameters]
recipe = slapos.cookbook:slapconfiguration
recipe = slapos.cookbook:slapconfiguration
...
...
software/powerdns/software.cfg
View file @
3c2bd026
...
@@ -18,14 +18,14 @@ eggs =
...
@@ -18,14 +18,14 @@ eggs =
[template]
[template]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
url = ${:_profile_base_location_}/instance.cfg
md5sum =
da8be58db4255c07750f7a7583eab3ca
md5sum =
8498018989045fb35335ea9cb85320a5
output = ${buildout:directory}/template.cfg
output = ${buildout:directory}/template.cfg
mode = 0644
mode = 0644
[template-powerdns]
[template-powerdns]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-powerdns.cfg
url = ${:_profile_base_location_}/instance-powerdns.cfg
md5sum = 7
710007c0bd1817e3c1485ea9ece1e23
md5sum = 7
05e963e6a7fb50bb66617d42f1dde37
output = ${buildout:directory}/template-powerdns.cfg
output = ${buildout:directory}/template-powerdns.cfg
mode = 0644
mode = 0644
...
...
software/slaprunner/buildout.hash.cfg
View file @
3c2bd026
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
# not need these here).
# not need these here).
[template]
[template]
filename = instance.cfg
filename = instance.cfg
md5sum =
73c7bd7dec7f874e8423d0ff4eba9427
md5sum =
91f902e039b5e47a28566e4a027a806b
[template-runner]
[template-runner]
filename = instance-runner.cfg
filename = instance-runner.cfg
...
...
software/slaprunner/instance.cfg
View file @
3c2bd026
...
@@ -81,7 +81,7 @@ context =
...
@@ -81,7 +81,7 @@ context =
[instance-monitor]
[instance-monitor]
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
template = $
monitor2-template:output
template = $
${monitor2-template:output}
rendered = ${buildout:directory}/template-monitor.cfg
rendered = ${buildout:directory}/template-monitor.cfg
extensions = jinja2.ext.do
extensions = jinja2.ext.do
mode = 0644
mode = 0644
...
...
stack/erp5/buildout.cfg
View file @
3c2bd026
...
@@ -301,7 +301,7 @@ context =
...
@@ -301,7 +301,7 @@ context =
key template_kumofs template-kumofs:target
key template_kumofs template-kumofs:target
key template_mariadb template-mariadb:target
key template_mariadb template-mariadb:target
key template_mariadb_initial_setup template-mariadb-initial-setup:target
key template_mariadb_initial_setup template-mariadb-initial-setup:target
key template_monitor monitor2-template:
output
key template_monitor monitor2-template:
rendered
key template_my_cnf template-my-cnf:target
key template_my_cnf template-my-cnf:target
key template_postfix template-postfix:target
key template_postfix template-postfix:target
key template_postfix_aliases template-postfix-aliases:target
key template_postfix_aliases template-postfix-aliases:target
...
...
stack/monitor/buildout.cfg
View file @
3c2bd026
...
@@ -92,8 +92,8 @@ md5sum = bab457ac4d139ed31d0b343a7d14d996
...
@@ -92,8 +92,8 @@ md5sum = bab457ac4d139ed31d0b343a7d14d996
# XXX keep compatibility (with software/ipython_notebook/software.cfg )
# XXX keep compatibility (with software/ipython_notebook/software.cfg )
[monitor-template]
[monitor-template]
rendered = ${monitor2-template:
rendered
}
rendered = ${monitor2-template:
output
}
output = ${monitor2-template:
rendered
}
output = ${monitor2-template:
output
}
[monitor2-template]
[monitor2-template]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
...
...
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