chef/roles/ejabberd.rb
Râu Cao 65d71d6a73
Migrate ejabberd uploads to mod_s3_upload and Garage
In addition to installing and configuring the new module, this also
enables public access to the S3 API via `bucket-name.s3.kosmos.org` as
well as Web access on `bucket-name.web.s3.kosmos.org` (when enabled).

Also includes some drive-by improvements to Chef attribute naming and
usage.

Co-authored-by: Greg Karékinian <greg@karekinian.com>
2023-10-10 17:55:55 +02:00

19 lines
360 B
Ruby

name "ejabberd"
default_run_list = %w(
role[postgresql_client]
kosmos-ejabberd::default
)
production_run_list = %w(
role[postgresql_client]
role[garage_gateway]
kosmos-ejabberd::letsencrypt
kosmos-ejabberd::default
)
env_run_lists(
'development' => default_run_list,
'production' => production_run_list,
'_default' => production_run_list
)