Resilient stack: add promise for ssh key presence of PBS in root instanec.
[slapos.git] / stack / resilient / template-parts.cfg.in
1 ## Parts Needed for the resiliency
2
3   {% macro replicate(namebase, nbbackup) %}
4
5   request-{{namebase}}
6   request-{{namebase}}-2
7   resilient-request-{{namebase}}-public-key-promise
8   
9   {% for id in range(1,nbbackup|int) %}
10   request-{{namebase}}-pseudo-replicating-{{id}}
11   request-{{namebase}}-pseudo-replicating-{{id}}-2
12   resilient-request-{{namebase}}-pseudo-replicating-{{id}}-public-key-promise
13   {% endfor %}
14   
15   {% for id in range(1,nbbackup|int) %}
16   request-pbs-{{namebase}}-{{id}}
17   resilient-request-pbs-{{namebase}}-{{id}}-public-key-promise
18   request-pull-backup-server-{{namebase}}-{{id}}
19   request-pull-backup-server-{{namebase}}-backup-{{id}}
20   {% endfor %}
21
22
23
24   {% endmacro %}