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
Cédric Le Ninivin
slapos
Commits
b0a6f9e6
Commit
b0a6f9e6
authored
Mar 04, 2014
by
Nicolas Wavrant
Committed by
Cédric Le Ninivin
Apr 29, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slaprunner: slapos-cfg template section lightened
parent
e29c51e5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
71 deletions
+43
-71
software/slaprunner/common.cfg
software/slaprunner/common.cfg
+1
-5
software/slaprunner/instance-runner.cfg
software/slaprunner/instance-runner.cfg
+10
-34
software/slaprunner/template/slapos.cfg.in
software/slaprunner/template/slapos.cfg.in
+32
-32
No files found.
software/slaprunner/common.cfg
View file @
b0a6f9e6
...
@@ -103,11 +103,7 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
...
@@ -103,11 +103,7 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
[slapos-cfg-template]
[slapos-cfg-template]
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
url = ${:_profile_base_location_}/template/${:filename}
<<<<<<< HEAD
md5sum = e1608c965da48ab6b14b9ad88e8e5298
md5sum = d31d1c51a51bc4b2b8dda197777a4bcb
=======
md5sum = 65dc3a88476b8e0366dbd40493ad4bc9
>>>>>>> 3f080e7... slaprunner: knowledge0 file path is transmitted to slaprunner throught slapos.cfg file
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = slapos.cfg.in
filename = slapos.cfg.in
download-only = true
download-only = true
...
...
software/slaprunner/instance-runner.cfg
View file @
b0a6f9e6
...
@@ -145,8 +145,8 @@ git-binary = ${git:location}/bin/git
...
@@ -145,8 +145,8 @@ git-binary = ${git:location}/bin/git
slapos.cfg = $${directory:etc}/slapos.cfg
slapos.cfg = $${directory:etc}/slapos.cfg
working-directory = $${runnerdirectory:home}
working-directory = $${runnerdirectory:home}
project-directory = $${runnerdirectory:project}
project-directory = $${runnerdirectory:project}
software-directory = $${runnerdirectory:softwar
e-root}
instance_root = $${runnerdirectory:instanc
e-root}
instance-directory = $${runnerdirectory:instanc
e-root}
software_root = $${runnerdirectory:softwar
e-root}
#XXX-Nico hardcoded default port because overridden by this buildout config
#XXX-Nico hardcoded default port because overridden by this buildout config
instance-monitor-url = https://[$${:ipv6}]:9685
instance-monitor-url = https://[$${:ipv6}]:9685
etc_dir = $${directory:etc}
etc_dir = $${directory:etc}
...
@@ -157,17 +157,22 @@ public_key = $${sshkeys-dropbear-runner:public-key}
...
@@ -157,17 +157,22 @@ public_key = $${sshkeys-dropbear-runner:public-key}
private_key = $${sshkeys-dropbear-runner:private-key}
private_key = $${sshkeys-dropbear-runner:private-key}
ipv4 = $${slap-network-information:local-ipv4}
ipv4 = $${slap-network-information:local-ipv4}
ipv6 = $${slap-network-information:global-ipv6}
ipv6 = $${slap-network-information:global-ipv6}
instance_root = $${runnerdirectory:instance-root}
proxy_port = 50000
proxy_port = 50000
runner_port = 50005
runner_port = 50005
partition-amount = $${slap-parameter:instance-amount}
partition-amount = $${slap-parameter:instance-amount}
wrapper = $${directory:services}/slaprunner
wrapper = $${directory:services}/slaprunner
debug = $${slap-parameter:debug}
debug = $${slap-parameter:debug}
access-url = https://[$${:ipv6}]:$${:runner_port}
access-url = https://[$${:ipv6}]:$${:runner_port}
sup
d-temp-var
= $${directory:etc}/supervisord.conf
sup
ervisord_config
= $${directory:etc}/supervisord.conf
prox
-db-var
= $${slaprunner:working-directory}/proxy.db
prox
y_database
= $${slaprunner:working-directory}/proxy.db
console = False
console = False
verbose = False
verbose = False
debug = False
debug = False
auto_deploy = $${slap-parameter:auto-deploy}
auto_deploy_instance = $${slap-parameter:auto-deploy-instance}
autorun = $${slap-parameter:autorun}
knowledge0_file = $${buildout:directory}/$${public:filename}
[test-runner]
[test-runner]
<= slaprunner
<= slaprunner
...
@@ -478,36 +483,7 @@ template = ${slapos-cfg-template:location}/${slapos-cfg-template:filename}
...
@@ -478,36 +483,7 @@ template = ${slapos-cfg-template:location}/${slapos-cfg-template:filename}
rendered = $${slaprunner:slapos.cfg}
rendered = $${slaprunner:slapos.cfg}
mode = 700
mode = 700
context =
context =
key auto_deploy slap-parameter:auto-deploy
section slaprunner slaprunner
key auto_deploy_instance slap-parameter:auto-deploy-instance
key autorun slap-parameter:autorun
key console slaprunner:console
key debug slaprunner:debug
key etc_dir slaprunner:etc_dir
key git slaprunner:git-binary
key instance_root runnerdirectory:instance-root
key instance_monitoring_url slaprunner:instance-monitor-url
key ipv4 slaprunner:ipv4
key ipv6 slaprunner:ipv6
raw knowledge0_file $${buildout:directory}/$${public:filename}
key log_dir slaprunner:log_dir
key partition_amount slaprunner:partition-amount
key private_key slaprunner:private_key
key proxy_database slaprunner:prox-db-var
key proxy_host slaprunner:ipv4
key proxy_port slaprunner:proxy_port
key public_key slaprunner:public_key
key run_dir slaprunner:run_dir
key runner_port slaprunner:runner_port
key runner_workdir slaprunner:working-directory
key slapgrid_cp slaprunner:slapgrid_cp
key slapgrid_sr slaprunner:slapgrid_sr
key slapproxy slaprunner:slapproxy
key software_root runnerdirectory:software-root
key ssh_client slaprunner:ssh_client
key supervisor slaprunner:supervisor
key supervisord_config slaprunner:supd-temp-var
key verbose slaprunner:verbose
[shellinabox]
[shellinabox]
recipe = slapos.cookbook:shellinabox
recipe = slapos.cookbook:shellinabox
...
...
software/slaprunner/template/slapos.cfg.in
View file @
b0a6f9e6
[slapos]
[slapos]
software_root = {{ s
oftware_root
}}
software_root = {{ s
laprunner['software_root']
}}
instance_root = {{
instance_root
}}
instance_root = {{
slaprunner['instance_root']
}}
master_url = http://{{
ipv4 }}:{{ proxy_port
}}
master_url = http://{{
slaprunner['ipv4'] }}:{{ slaprunner['proxy_port']
}}
computer_id = slaprunner
computer_id = slaprunner
maximal_delay = 0
maximal_delay = 0
[slapformat]
[slapformat]
partition_amount = {{
partition_amount
}}
partition_amount = {{
slaprunner['partition-amount']
}}
[slaprunner]
[slaprunner]
slapgrid_sr = {{ slap
grid_sr
}}
slapgrid_sr = {{ slap
runner['slapgrid_sr']
}}
slapgrid_cp = {{ slap
grid_cp
}}
slapgrid_cp = {{ slap
runner['slapgrid_cp']
}}
slapproxy = {{ slap
proxy
}}
slapproxy = {{ slap
runner['slapproxy']
}}
supervisor = {{ s
upervisor
}}
supervisor = {{ s
laprunner['supervisor']
}}
supervisord_config = {{ s
upervisord_config
}}
supervisord_config = {{ s
laprunner['supervisord_config']
}}
runner_workdir = {{
runner_workdir
}}
runner_workdir = {{
slaprunner['working-directory']
}}
runner_host = {{
ipv4
}}
runner_host = {{
slaprunner['ipv4']
}}
runner_port = {{
runner_port
}}
runner_port = {{
slaprunner['runner_port']
}}
instance_monitoring_url = {{
instance_monitoring_url
}}
instance_monitoring_url = {{
slaprunner['instance-monitor-url']
}}
ipv4_address = {{
ipv4
}}
ipv4_address = {{
slaprunner['ipv4']
}}
ipv6_address = {{
ipv6
}}
ipv6_address = {{
slaprunner['ipv6']
}}
etc_dir = {{
etc_dir
}}
etc_dir = {{
slaprunner['etc_dir']
}}
run_dir = {{
run_dir
}}
run_dir = {{
slaprunner['run_dir']
}}
log_dir = {{
log_dir
}}
log_dir = {{
slaprunner['log_dir']
}}
console = {{
console
}}
console = {{
slaprunner['console']
}}
verbose = {{
verbose
}}
verbose = {{
slaprunner['verbose']
}}
debug = {{
debug
}}
debug = {{
slaprunner['debug']
}}
auto_deploy = {{
auto_deploy
}}
auto_deploy = {{
slaprunner['auto_deploy']
}}
auto_deploy_instance = {{
auto_deploy_instance
}}
auto_deploy_instance = {{
slaprunner['auto_deploy_instance']
}}
autorun = {{
autorun
}}
autorun = {{
slaprunner['autorun']
}}
knowledge0_cfg = {{
knowledge0_file
}}
knowledge0_cfg = {{
slaprunner['knowledge0_file']
}}
[slapproxy]
[slapproxy]
host = {{
proxy_host
}}
host = {{
slaprunner['ipv4']
}}
port = {{
proxy_port
}}
port = {{
slaprunner['proxy_port']
}}
database_uri = {{
proxy_database
}}
database_uri = {{
slaprunner['proxy_database']
}}
[sshkeys_authority]
[sshkeys_authority]
ssh_client = {{ s
sh_client
}}
ssh_client = {{ s
laprunner['ssh_client']
}}
public_key = {{
public_key
}}
public_key = {{
slaprunner['public_key']
}}
private_key = {{
private_key
}}
private_key = {{
slaprunner['private_key']
}}
[gitclient]
[gitclient]
git = {{
git
}}
git = {{
slaprunner['git-binary']
}}
[cloud9_IDE]
[cloud9_IDE]
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