From 76cdd69910e7db20da4bd79c446a19cd6f0eeedb Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 3 Aug 2016 21:37:36 +0200 Subject: [PATCH] new onionbalance config generation, 2 --- modules/onion/manifests/balance.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/onion/manifests/balance.pp b/modules/onion/manifests/balance.pp index 3d01e881a..56c3f8515 100644 --- a/modules/onion/manifests/balance.pp +++ b/modules/onion/manifests/balance.pp @@ -48,8 +48,10 @@ class onion::balance { Concat::Fragment <<| tag == "onion::balance::dsa-snippet" |>> exec { "create-onionbalance-config": - command => "/usr/local/bin/create-onionbalance-config" + command => "/usr/local/bin/create-onionbalance-config", refreshonly => true, - require => File['/usr/local/bin/create-onionbalance-config'] + require => [ File['/usr/local/bin/create-onionbalance-config'] ], + #require => Package['onionbalance'], + #notify => Service['onionbalance'], } } -- 2.20.1