]> gitweb.fluxo.info Git - puppet-onion.git/commitdiff
Hiera 5 migration
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 7 May 2020 23:58:32 +0000 (20:58 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 7 May 2020 23:58:32 +0000 (20:58 -0300)
manifests/monitor.pp

index c51aad8658f96bb627276460c3d45ecdee04c3e1..9139084e35f348924153a167ed99e05e35d48d83 100644 (file)
@@ -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,