slapos.cfg.in 2.72 KB
Newer Older
Nicolas Wavrant's avatar
Nicolas Wavrant committed
1
[slapos]
2 3
software_root = {{ slaprunner['software_root'] }}
instance_root = {{ slaprunner['instance_root'] }}
4 5 6 7 8 9 10 11 12 13 14
shared_part_list =
  {#- buildout_shared_part_list_dump is ${buildout:shared-part-list} rendered as a
  template during software step.
  Because it can contain new lines, it's not possible to use it directly when generating
  buildout config files from buildout, because the newlines don't get indented and cause
  the instance buildout to be invalid ini file.
  So we had to dump it in a simple text file and now we parse again that text file. -#}
  {%- for line in codecs.open(buildout_shared_part_list_dump).readlines() %}
  {{   line.strip() }}
  {%- endfor %}
  {{ slaprunner['shared_root'] }}
15
master_url = http://{{ slaprunner['ipv4'] }}:{{ slaprunner['proxy_port'] }}
Nicolas Wavrant's avatar
Nicolas Wavrant committed
16 17
computer_id = slaprunner
maximal_delay = 0
18
root_check = {{ slaprunner['root_check'] }}
19
forbid_supervisord_automatic_launch = true
20 21
pidfile_software =  {{slaprunner['pidfile-software']}}
pidfile_instance =  {{slaprunner['pidfile-instance']}}
Nicolas Wavrant's avatar
Nicolas Wavrant committed
22 23

[slapformat]
24
partition_amount = {{ slaprunner['partition-amount'] }}
Nicolas Wavrant's avatar
Nicolas Wavrant committed
25 26

[slaprunner]
27
slapos = {{ slaprunner['slapos'] }}
28
slapos_cfg = {{ slaprunner['slapos.cfg'] }}
29 30 31
slapproxy = {{ slaprunner['slapproxy'] }}
supervisor = {{ slaprunner['supervisor'] }}
supervisord_config = {{ slaprunner['supervisord_config'] }}
32
supervisord_server = {{ slaprunner['supervisord_server'] }}
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
runner_workdir = {{ slaprunner['working-directory'] }}
runner_host = {{ slaprunner['ipv4'] }}
runner_port = {{ slaprunner['runner_port'] }}
instance_monitoring_url = {{ slaprunner['instance-monitor-url'] }}
ipv4_address = {{ slaprunner['ipv4'] }}
ipv6_address = {{ slaprunner['ipv6'] }}
etc_dir = {{ slaprunner['etc_dir'] }}
run_dir = {{ slaprunner['run_dir'] }}
log_dir = {{ slaprunner['log_dir'] }}
console = {{ slaprunner['console'] }}
verbose = {{ slaprunner['verbose'] }}
debug = {{ slaprunner['debug'] }}
auto_deploy = {{ slaprunner['auto_deploy'] }}
auto_deploy_instance = {{ slaprunner['auto_deploy_instance'] }}
autorun = {{ slaprunner['autorun'] }}
knowledge0_cfg = {{ slaprunner['knowledge0_file'] }}
49 50
minishell_cwd_file = {{ slaprunner['minishell_cwd_file'] }}
minishell_history_file = {{ slaprunner['minishell_history_file'] }}
51
path = {{ slaprunner['path'] }}
52
instance_name = {{ slaprunner['instance_name'] }}
53 54
default_repository = {{ slaprunner['default_repository'] }}
default_repository_branch = {{ slaprunner['default_repository_branch'] }}
Nicolas Wavrant's avatar
Nicolas Wavrant committed
55 56

[slapproxy]
57 58 59
host = {{ slaprunner['ipv4'] }}
port = {{ slaprunner['proxy_port'] }}
database_uri = {{ slaprunner['proxy_database'] }}
Nicolas Wavrant's avatar
Nicolas Wavrant committed
60 61

[sshkeys_authority]
62 63 64
ssh_client = {{ slaprunner['ssh_client'] }}
public_key = {{ slaprunner['public_key'] }}
private_key = {{ slaprunner['private_key'] }}
Nicolas Wavrant's avatar
Nicolas Wavrant committed
65 66

[gitclient]
67
git = {{ slaprunner['git-binary'] }}