Resilient stack: notifier-url is rather a notifier-host
[slapos.git] / stack / resilient / buildout.cfg
1 [buildout]
2 extends =
3   ../../component/dropbear/buildout.cfg
4   ../../component/rdiff-backup/buildout.cfg
5   ../../component/rsync/buildout.cfg
6
7 parts =
8   rdiff-backup
9   pbsready
10   pbsready-import
11   pbsready-export
12   template-replicated
13   template-parts
14   instance-frozen
15   template-resilient
16
17
18 #----------------
19 #--
20 #-- Profiles needed to setup automated backup and recovery.
21 #--
22
23 [pbsready]
24 # Common parts for pbsready-import and pbsready-export.
25 # Provides rdiff-backup, notification queue, ssh authentication,
26 # dropbear server, and the bully script.
27 recipe = slapos.recipe.template
28 url = ${:_profile_base_location_}/pbsready.cfg.in
29 output = ${buildout:directory}/pbsready.cfg
30 md5sum = 9f4212a79f10bee8f6d75061943110e2
31 mode = 0644
32
33 [pbsready-import]
34 # An import instance has an importer script, which is called
35 # by the parent PBS instance when the dump content is propagated.
36 recipe = slapos.recipe.template
37 url = ${:_profile_base_location_}/pbsready-import.cfg.in
38 output = ${buildout:directory}/pbsready-import.cfg
39 md5sum = 3c2e73f49abdc52282fc045e6d91f3e9
40 mode = 0644
41
42 [pbsready-export]
43 # An export instance has an exporter script, and communicates
44 # to parent PBS instances to deliver the exported dump.
45 recipe = slapos.recipe.template
46 url = ${:_profile_base_location_}/pbsready-export.cfg.in
47 output = ${buildout:directory}/pbsready-export.cfg
48 md5sum = a0e22a5de727544c5767d6bee059a77a
49 mode = 0644
50
51 [template-pull-backup]
52 recipe = slapos.recipe.template
53 url = ${:_profile_base_location_}/instance-pull-backup.cfg.in
54 output = ${buildout:directory}/instance-pull-backup.cfg
55 md5sum = c67a9dad66490ae264f9e7003521bf59
56 mode = 0644
57
58 [template-replicated]
59 recipe = slapos.recipe.download
60 url = ${:_profile_base_location_}/template-replicated.cfg.in
61 md5sum = 9e20f283bf709c63c9c6692d5e1f8972
62 mode = 0644
63 destination = ${buildout:directory}/template-replicated.cfg.in
64
65 [template-parts]
66 recipe = slapos.recipe.download
67 url = ${:_profile_base_location_}/template-parts.cfg.in
68 md5sum = c942f82552fcb42fc74a5f896e0cd5f3
69 mode = 0644
70 destination = ${buildout:directory}/template-parts.cfg.in
71
72 [instance-frozen]
73 # When an instance is detected as broken, its software type is changed to "frozen".
74 # On the next run of slapgrid-cp, the buildout profile is replaced by instance-frozen.cfg,
75 # which will run without removing any content because it raises an error.
76 recipe = slapos.recipe.template
77 url = ${:_profile_base_location_}/instance-frozen.cfg.in
78 output = ${buildout:directory}/instance-frozen.cfg
79
80 [template-resilient]
81 recipe = slapos.recipe.template
82 url = ${:_profile_base_location_}/resilient.cfg.in
83 output = ${buildout:directory}/resilient.cfg
84 md5sum = 59e74d290d623de2c1e147e48f284fba
85 mode = 0644
86
87 [versions]
88 # Pin Jinja2 to 2.6, as 2.7 breaks current code
89 Jinja2 = 2.6
90