Skip to content

Commit a016d0d

Browse files
janit42Jan Sellmann
authored and
Jan Sellmann
committed
allow tls_options to be of String
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 #1539
1 parent 02f09d6 commit a016d0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: manifests/db.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
define mysql::db (
5050
String[1] $user,
5151
Variant[String, Sensitive[String]] $password,
52-
Optional[Array[String[1]]] $tls_options = undef,
52+
Optional[Variant[String[1], Array[String[1]]]] $tls_options = undef,
5353
String $dbname = $name,
5454
String[1] $charset = 'utf8',
5555
String[1] $collate = 'utf8_general_ci',

0 commit comments

Comments
 (0)