Skip to content

Commit

Permalink
Use systemd::dropin_file to set the Redis URL
Browse files Browse the repository at this point in the history
  • Loading branch information
highpingblorg committed Oct 22, 2024
1 parent b1fda2a commit d9dcc4e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions manifests/dynflow/worker.pp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@
'queues' => $queues,
}

systemd::dropin_file { "${service}-service":
filename => 'dependencies.conf',
unit => "${service}.service",
content => epp("${module_name}/dynflow-sidekiq-overrides.conf.epp", {
redis_host => $foreman::dynflow_redis_url,
}),
notify_service => true,
}

file { $filename:
ensure => file,
owner => $config_owner,
Expand Down

0 comments on commit d9dcc4e

Please sign in to comment.