summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {