From: Peter Palfrader Date: Sat, 30 Jul 2016 12:15:18 +0000 (+0200) Subject: Use full path to tor-onion-name X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=df6dee21c3ba0cf089c346a08ad74c43d2bc0692;p=mirror%2Fdsa-puppet.git Use full path to tor-onion-name --- diff --git a/modules/debian-org/lib/facter/onion-services.rb b/modules/debian-org/lib/facter/onion-services.rb index af60d10db..c444ec2d1 100644 --- a/modules/debian-org/lib/facter/onion-services.rb +++ b/modules/debian-org/lib/facter/onion-services.rb @@ -21,7 +21,7 @@ begin Dir['/etc/onionbalance/private_keys/*.key'].each do |p| service = File.basename(p, '.key') begin - services[service] = IO.popen(['tor-onion-name', p]).read.chomp + services[service] = IO.popen(['/usr/local/bin/tor-onion-name', p]).read.chomp rescue Errno::ENOENT end end