Skip to content
Snippets Groups Projects
Unverified Commit 39b9538c authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

rehash: Align keys with service name and fix configuration

Related T1525
Related T1531
parent 646f379c
No related branches found
No related tags found
No related merge requests found
......@@ -3,13 +3,11 @@
class profile::swh::deploy::worker::indexer_rehash {
include ::profile::swh::deploy::indexer
$concurrency = lookup('swh::deploy::worker::indexer::rehash::concurrency')
$loglevel = lookup('swh::deploy::worker::indexer::rehash::loglevel')
$concurrency = lookup('swh::deploy::worker::indexer_rehash::concurrency')
$loglevel = lookup('swh::deploy::worker::indexer_rehash::loglevel')
$config_file = lookup('swh::deploy::worker::indexer::rehash::config_file')
$config_directory = lookup('swh::deploy::base_indexer::config_directory')
$config_path = "${config_directory}/${config_file}"
$config = lookup('swh::deploy::worker::indexer::rehash::config')
$config_file = lookup('swh::deploy::worker::indexer_rehash::config_file')
$config = lookup('swh::deploy::worker::indexer_rehash::config')
Package[$::profile::swh::deploy::base_indexer::packages] ~> ::profile::swh::deploy::worker::instance {'indexer_rehash':
ensure => 'stopped',
......@@ -18,11 +16,11 @@ class profile::swh::deploy::worker::indexer_rehash {
require => [
Class['profile::swh::deploy::indexer'],
Class['profile::swh::deploy::objstorage_cloud'],
File[$config_path],
File[$config_file],
],
}
file {$config_path:
file {$config_file:
ensure => 'present',
owner => 'swhworker',
group => 'swhdev',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment