From 944a4c7fa0e1d0bd151ac418c341b321024594f9 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 7 May 2020 20:58:32 -0300 Subject: Hiera 5 migration --- manifests/monitor.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- cgit v1.2.3