From: Peter Palfrader Date: Fri, 29 Jul 2016 06:24:40 +0000 (+0200) Subject: use correct config filename for onionbalance X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=99ee077a47a551ef3d2b29a09a18fd1e01b0ecaf;p=mirror%2Fdsa-puppet.git use correct config filename for onionbalance --- diff --git a/modules/onion/manifests/balance.pp b/modules/onion/manifests/balance.pp index 1c0f9d3f3..80f3ea85a 100644 --- a/modules/onion/manifests/balance.pp +++ b/modules/onion/manifests/balance.pp @@ -20,12 +20,12 @@ class onion::balance { content => "ControlPort 9051\n\n", } - concat { '/etc/onionbalance/config': + concat { '/etc/onionbalance/config.yaml': notify => Service['onionbalance'], require => Package['onionbalance'], } concat::fragment { 'onion::balance::config_header': - target => "/etc/onionbalance/config", + target => "/etc/onionbalance/config.yaml", order => 05, content => "service:\n", } diff --git a/modules/onion/manifests/balance_service.pp b/modules/onion/manifests/balance_service.pp index 9348692fa..56131d6a4 100644 --- a/modules/onion/manifests/balance_service.pp +++ b/modules/onion/manifests/balance_service.pp @@ -12,7 +12,7 @@ define onion::balance_service ( } concat::fragment { "onion::balance::service_header::${name}": - target => "/etc/onionbalance/config", + target => "/etc/onionbalance/config.yaml", order => "50-${name}-10", content => " - # ${name} via ${onion_hn}\n key: private_keys/${name}.key\n instances:\n", }