Skip to content

Commit

Permalink
fix #91 mysql:db above 13.1.0 requires an array for the tis_options
Browse files Browse the repository at this point in the history
  • Loading branch information
lbetz committed Oct 17, 2023
1 parent 0b9da40 commit 039b364
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/database.pp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
}

if versioncmp($::facts['puppetversion'], '6.0.0') < 0 or ($facts['os']['family'] == 'redhat' and Integer($facts['os']['release']['major']) < 8) {
if versioncmp($facts['puppetversion'], '6.0.0') < 0 or ($facts['os']['family'] == 'redhat' and Integer($facts['os']['release']['major']) < 8) {
$_pass = icinga::unwrap($db_pass)
} else {
$_pass = postgresql::postgresql_password($db_user, $db_pass, false, $postgresql::server::password_encryption)
Expand Down Expand Up @@ -82,7 +82,7 @@
mysql::db { $db_name:
host => $access_instances[0],
user => $db_user,
tls_options => $_tls_options,
tls_options => any2array($_tls_options),
password => $db_pass,
grant => $mysql_privileges,
charset => $encoding,
Expand Down

0 comments on commit 039b364

Please sign in to comment.