summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:58:16 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:58:16 -0300
commit32552a222cb03e0b2e5c99e51a3719426a06a707 (patch)
tree45ffe82c45529d7f3939b34516c8f2a0b626ba00
parentb138437045c40fda484edc3b01d29f51c968ea58 (diff)
downloadpuppet-mysql-32552a222cb03e0b2e5c99e51a3719426a06a707.tar.gz
puppet-mysql-32552a222cb03e0b2e5c99e51a3719426a06a707.tar.bz2
Hiera 5 migration
-rw-r--r--manifests/server.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index 2e74beb..0e49f57 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -1,5 +1,5 @@
class mysql::server(
- $rootpw = hiera('mysql::server::rootpw', ''),
+ $rootpw = lookup('mysql::server::rootpw', undef, undef, ''),
$implementation = 'mysql-server', # 'mariadb-server'
){
case $rootpw {