Abstract install method

This commit is contained in:
Thierry Ducrest
2017-09-19 16:30:51 +02:00
committed by Guewen Baconnier
co-authored by Guewen Baconnier
parent 66748534f6
commit 1548fd674a
4 changed files with 24 additions and 22 deletions
+10 -7
View File
@@ -138,14 +138,17 @@ Should be active at least on the production server
### Automatic Configuration
Calling
`ctx.env['cloud.platform'].install_exoscale()`
or
`ctx.env['cloud.platform'].install_ovh()`
in an `anthem` song will configure some parameters such as the
`ir_attachment.location` and migrate the existing attachments to the
object storage.
An automatic configuration can be executed from an `anthem` song to configure
some parameters such as the `ir_attachment.location` and migrate the existing
attachments to the object storage.
It can be called like this:
`ctx.env['cloud.platform'].install(cloud_platform_kind)`
Replacing `cloud_platform_kind` with 'exoscale' or 'ovh'
When there was only Exoscale as a provider of the cloud platform the following
would do the trick and will work until v.11 :
`ctx.env['cloud.platform'].install_exoscale()`
### Startup checks