We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c370fa commit 068072aCopy full SHA for 068072a
tests/mysql_plugin.pp
@@ -4,24 +4,16 @@
4
5
mysql::plugin{ 'validate_password':
6
ensure => present,
7
- case $operatingsystem {
8
- 'Windows': {
9
- soname => 'validate_password.dll'
10
- }
11
- default: {
12
- soname => 'validate_password.so'
13
+ soname => $::osfamily ? {
+ windows => 'validate_password.dll',
+ default => 'validate_password.so'
14
}
15
16
17
mysql::plugin{ 'auth_socket':
18
19
20
21
- soname => 'auth_socket.dll'
22
23
24
- soname => 'auth_socket.so'
25
+ windows => 'auth_socket.dll',
+ default => 'auth_socket.so'
26
27
0 commit comments