Changeset View
Changeset View
Standalone View
Standalone View
site-modules/profile/manifests/swh/deploy/indexer_storage.pp
# Deployment of the swh.indexer.storage.api.server | # Deployment of the swh.indexer.storage.api.server | ||||
class profile::swh::deploy::indexer_storage { | class profile::swh::deploy::indexer_storage { | ||||
include ::profile::swh::deploy::base_storage | include ::profile::swh::deploy::base_storage | ||||
package {'python3-swh.indexer.storage': | package {'python3-swh.indexer.storage': | ||||
ensure => 'present', | ensure => 'present', | ||||
} ~> ::profile::swh::deploy::rpc_server {'indexer-storage': | } ~> ::profile::swh::deploy::rpc_server {'indexer-storage': | ||||
config_key => 'indexer::storage', | config_key => 'indexer::storage', | ||||
executable => 'swh.indexer.storage.api.wsgi', | executable => 'swh.indexer.storage.api.server:make_app_from_configfile()', | ||||
worker => 'sync', | worker => 'sync', | ||||
http_check_string => 'SWH Indexer Storage API server', | http_check_string => 'SWH Indexer Storage API server', | ||||
} | } | ||||
} | } |