summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:58:32 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:58:32 -0300
commit944a4c7fa0e1d0bd151ac418c341b321024594f9 (patch)
treec857ecf3bc8b5705bbac597d7b7f0ff1f3dd5d8c /manifests
parent6b93d8593587cd4c16f777bcbc578638191bb589 (diff)
downloadpuppet-onion-944a4c7fa0e1d0bd151ac418c341b321024594f9.tar.gz
puppet-onion-944a4c7fa0e1d0bd151ac418c341b321024594f9.tar.bz2
Hiera 5 migration
Diffstat (limited to 'manifests')
-rw-r--r--manifests/monitor.pp4
1 files 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 <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,