diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-05-07 20:58:16 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-05-07 20:58:16 -0300 |
commit | 32552a222cb03e0b2e5c99e51a3719426a06a707 (patch) | |
tree | 45ffe82c45529d7f3939b34516c8f2a0b626ba00 | |
parent | b138437045c40fda484edc3b01d29f51c968ea58 (diff) | |
download | puppet-mysql-32552a222cb03e0b2e5c99e51a3719426a06a707.tar.gz puppet-mysql-32552a222cb03e0b2e5c99e51a3719426a06a707.tar.bz2 |
Hiera 5 migration
-rw-r--r-- | manifests/server.pp | 2 |
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 { |