From: Silvio Rhatto Date: Thu, 7 May 2020 23:58:32 +0000 (-0300) Subject: Hiera 5 migration X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=944a4c7fa0e1d0bd151ac418c341b321024594f9;p=puppet-onion.git Hiera 5 migration --- diff --git a/manifests/monitor.pp b/manifests/monitor.pp index c51aad8..9139084 100644 --- a/manifests/monitor.pp +++ b/manifests/monitor.pp @@ -1,7 +1,7 @@ # Generate the hash using 'tor --hash-password ' class onion::monitor( - $control_password = hiera('onion::monitor::control_password'), - $hashed_control_password = hiera('onion::monitor::hashed_control_password') + $control_password = lookup('onion::monitor::control_password'), + $hashed_control_password = lookup('onion::monitor::hashed_control_password') ) { tor::daemon::control{ "control": port => 9051,