-
-
Notifications
You must be signed in to change notification settings - Fork 43
/
kitchen.yml
74 lines (70 loc) · 4.97 KB
/
kitchen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
driver:
name: vagrant
provisioner:
name: chef_infra
product_name: <%= ENV['CHEF_PRODUCT_NAME'] || 'chef' %>
chef_license: accept-no-persist
enforce_idempotency: true
multiple_converge: 2
deprecations_as_errors: true
data_bags_path: test/integration/data_bags
encrypted_data_bag_secret_key_path: test/integration/encrypted_data_bag_secret
verifier:
name: inspec
platforms:
- name: almalinux-8
- name: amazonlinux-2
- name: centos-7
- name: centos-stream-8
- name: debian-10
- name: debian-11
- name: opensuse-leap-15
- name: rockylinux-8
- name: ubuntu-18.04
- name: ubuntu-20.04
suites:
- name: unencrypted
run_list:
- recipe[certificate::manage_by_attributes]
attributes:
certificate:
- test:
data_bag_type: unencrypted
cert_file: test.pem
key_file: test.key
chain_file: test-chain.pem
- name: encrypted
run_list:
- recipe[certificate::manage_by_attributes]
attributes:
certificate:
- test:
data_bag_type: encrypted
data_bag: certs-encrypted
cert_file: test.pem
key_file: test.key
chain_file: test-chain.pem
- name: none
run_list:
- recipe[certificate::manage_by_attributes]
attributes:
certificate:
- test:
data_bag_type: none
plaintext_cert: "-----BEGIN CERTIFICATE-----\nMIICczCCAdwCCQDiLfzq2gRq/DANBgkqhkiG9w0BAQUFADB+MQswCQYDVQQGEwJB\nVTETMBEGA1UECAwKU29tZS1TdGF0ZTENMAsGA1UEBwwEY2l0eTEhMB8GA1UECgwY\nSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMRAwDgYDVQQLDAdzZWN0aW9uMRYwFAYD\nVQQDDA0qLmV4YW1wbGUuY29tMB4XDTEzMDYwNzE1MTI1M1oXDTIzMDYwNT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t4j8DRE/5TrzAUj\nlUC5B3ilJfYKvUWG6Nm9wASOhURh73+nyfrBJcyFLGM/BWBzSQXgYHiVEEvc+RFZ\nznF/QJuKqiTfC0Li21a8StKlDJu3Qz7dg9MmEALP6iPESU7l0+m0iKsMrmKS1GWH\n2WrX9IWf5DMiJaXlyDO6w8dB3F/GaswADm0yqLaHNgBid5seHzTLkDx4iHQF63n1\nk3Flyp3HaxgtPVxO59X4PzF9j4fsCiIvI+n+u33J4PTs63zEsMMtYrWacdaxaujs\n2e3Vcuy+VwHOBVWf3tFgiBCzAgMBAAGjNjA0MA8GA1UdEwEB/wQFMAMBAf8wEQYD\nVR0OBAoECERqlWdVeRFPMA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQUFAAOC\nAQEAVdRU0VlIXLOThaq/Yy/kgM40ozRiPvbY7meIMQQDbwvUB/tOdQ/TLtPAF8fG\nKOwGDREkDg6lXb+MshOWcdzUzg4NCmgybLlBMRmrsQd7TZjTXLDR8KdCoLXEjq/+\n8T/0709GAHbrAvv5ndJAlseIOrifEXnzgGWovR/TeIGgUUw3tKZdJXDRZslo+S4R\nFGjxVJgIrCaSD96JntT6s3kr0qN51OyLrIdTaEJMUVF0HhsnLuP1Hyl0Te2v9+GS\nmYHovjrHF1D2t8b8m7CKa9aIA5GPBnc6hQLdmNVDeD/GMBWsm2vLV7eJUYs66MmE\nDNuxUCAKGkq6ahq97BvIxYSazQ==\n-----END CERTIFICATE-----\n\n"
cert_file: test.pem
key_file: test.key
chain_file: test-chain.pem
- name: vault
run_list:
- recipe[certificate::manage_by_attributes]
attributes:
certificate:
- test:
data_bag_type: vault
cert_file: test.pem
key_file: test.key
chain_file: test-chain.pem