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

index 2e74beba5cb6dd3bb7939ad73befcfdb7a1a7259..0e49f571db0e22a0f041d5429850bcdd7aeb2d1b 100644 (file)
@@ -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 {