File tree 1 file changed +10
-13
lines changed
1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -201,20 +201,17 @@ class { 'mysql::server': * => $ed25519_opts }
201
201
end
202
202
context 'using user-w-subject@localhost with ISSUER and SUBJECT' do
203
203
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
-
216
204
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 )
218
215
end
219
216
220
217
it 'finds the user #stdout' do
You can’t perform that action at this time.
0 commit comments