From 27ba2896baa68bad3981b1b306d020a7ae4a1ca0 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Fri, 23 Apr 2021 08:14:37 +0100 Subject: [PATCH] test(_mapdata): add verification file for `fedora-34` [skip ci] --- .../default/files/_mapdata/fedora-34.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 test/integration/default/files/_mapdata/fedora-34.yaml diff --git a/test/integration/default/files/_mapdata/fedora-34.yaml b/test/integration/default/files/_mapdata/fedora-34.yaml new file mode 100644 index 0000000..2f4a315 --- /dev/null +++ b/test/integration/default/files/_mapdata/fedora-34.yaml @@ -0,0 +1,49 @@ +# yamllint disable rule:indentation rule:line-length +# Fedora-34 +--- +values: + cert_dir: /etc/pki/tls/certs + cert_ext: .crt + cert_group: root + cert_mode: 644 + cert_source_dir: /tmp/kitchen/srv/salt/files/ + cert_tmp_dir: /tmp/certs/ + cert_user: root + certlist: + cert.and.key.to.add: + cert: "-----BEGIN CERTIFICATE-----\n1MOCKED CERT AND KEY\n-----END CERTIFICATE----- " + key: "-----BEGIN RSA PRIVATE KEY-----\n1MOCKED CERT AND KEY\n-----END RSA PRIVATE + KEY----- " + cert.and.key.to.remove: + cert: "-----BEGIN CERTIFICATE-----\n3MOCKED CERT AND KEY\n-----END CERTIFICATE----- " + key: "-----BEGIN RSA PRIVATE KEY-----\n3MOCKED CERT AND KEY\n-----END RSA PRIVATE + KEY----- " + remove: true + cert.and.key.with.ext.to.add: + cert: "-----BEGIN CERTIFICATE-----\n4MOCKED CERT AND KEY\n-----END CERTIFICATE----- " + cert_ext: ".pem" + key: "-----BEGIN RSA PRIVATE KEY-----\n4MOCKED CERT AND KEY\n-----END RSA PRIVATE + KEY----- " + key_ext: ".priv" + cert.from.src.to.add: {} + cert.to.add: + cert: "-----BEGIN CERTIFICATE-----\n2MOCKED CERT\n-----END CERTIFICATE----- " + key_dir: /etc/pki/tls/private + key_ext: .key + key_group: root + key_mode: 600 + key_user: root + lookup: + cert_source_dir: "/tmp/kitchen/srv/salt/files/" + map_jinja: + sources: + - Y:G@osarch + - Y:G@os_family + - Y:G@os + - Y:G@osfinger + - C@cert:lookup + - C@cert + - Y:G@id + pkgs: + - ca-certificates + remove: false