Skip to content

Commit

Permalink
allow tls_options to be of String
Browse files Browse the repository at this point in the history
the type of $tls_options has recently been changed to Array in 5131e0f while the code in lib/puppet/type/mysql_user.rb is able to work with it as an Array or a String.

This change allows $tls_options to by a String in addition to Array, which re-establishes compatibility with other modules, like puppet-icinga

Fixes puppetlabs#1539
  • Loading branch information
janit42 authored and Jan Sellmann committed Feb 23, 2024
1 parent 38fad75 commit 59ec95c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/db.pp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
define mysql::db (
String[1] $user,
Variant[String, Sensitive[String]] $password,
Optional[Array[String[1]]] $tls_options = undef,
Optional[Variant[String[1], Array[String[1]]]] $tls_options = undef,
String $dbname = $name,
String[1] $charset = 'utf8',
String[1] $collate = 'utf8_general_ci',
Expand Down

0 comments on commit 59ec95c

Please sign in to comment.