Skip to content

Commit 698c21c

Browse files
committed
fix for litmus acceptance failures
1 parent 89d96bc commit 698c21c

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

Diff for: spec/acceptance/types/mysql_user_spec.rb

+10-13
Original file line numberDiff line numberDiff line change
@@ -201,20 +201,17 @@ class { 'mysql::server': * => $ed25519_opts }
201201
end
202202
context 'using user-w-subject@localhost with ISSUER and SUBJECT' do
203203
describe 'adding user' do
204-
pp_six = <<-MANIFEST
205-
mysql_user { 'user-w-subject@localhost':
206-
plugin => 'mysql_native_password',
207-
password_hash => '',
208-
tls_options => [
209-
"SUBJECT '/OU=MySQL Users/CN=username'",
210-
"ISSUER '/CN=Certificate Authority'",
211-
"CIPHER 'EDH-RSA-DES-CBC3-SHA'",
212-
],
213-
}
214-
MANIFEST
215-
216204
it 'works without errors' do
217-
idempotent_apply(pp_six)
205+
pp = <<-MANIFEST
206+
mysql_user { 'user-w-subject@localhost':
207+
tls_options => [
208+
"SUBJECT '/OU=MySQL Users/CN=username'",
209+
"ISSUER '/CN=Certificate Authority'",
210+
"CIPHER 'EDH-RSA-DES-CBC3-SHA'",
211+
],
212+
}
213+
MANIFEST
214+
idempotent_apply(pp)
218215
end
219216

220217
it 'finds the user #stdout' do

0 commit comments

Comments
 (0)