Skip to content

Commit

Permalink
QE: Copy build host files to new monitoring host salt folder
Browse files Browse the repository at this point in the history
  • Loading branch information
vandabarata committed Nov 28, 2022
1 parent 5554ec8 commit 9f84288
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
35 changes: 35 additions & 0 deletions salt/monitoring_server/certs/ca.cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
-----BEGIN CERTIFICATE-----
MIIGDDCCA/SgAwIBAgIJAKfUYNnZ1+8TMA0GCSqGSIb3DQEBCwUAMIGSMQswCQYD
VQQGEwJERTEPMA0GA1UECAwGQmF5ZXJuMRIwEAYDVQQHDAlOdXJlbWJlcmcxDTAL
BgNVBAoMBFNVU0UxFTATBgNVBAsMDFNVU0UgTWFuYWdlcjETMBEGA1UEAwwKTWFu
YWdlciBDQTEjMCEGCSqGSIb3DQEJARYUZ2FsYXh5LWRldmVsQHN1c2UuZGUwHhcN
MTYwNTA5MDg1NzAwWhcNMzYwNTA0MDg1NzAwWjCBkjELMAkGA1UEBhMCREUxDzAN
BgNVBAgMBkJheWVybjESMBAGA1UEBwwJTnVyZW1iZXJnMQ0wCwYDVQQKDARTVVNF
MRUwEwYDVQQLDAxTVVNFIE1hbmFnZXIxEzARBgNVBAMMCk1hbmFnZXIgQ0ExIzAh
BgkqhkiG9w0BCQEWFGdhbGF4eS1kZXZlbEBzdXNlLmRlMIICIjANBgkqhkiG9w0B
AQEFAAOCAg8AMIICCgKCAgEAwDv9eWqMWHav4yozUfZS52elPBJg9k3X/NNv/O4N
sOoISEOLVryPUEYF7JNQsE+GeXRMWCpKft3wf43zrzm2lBMgpNQSQI0OVriKmp6I
qGoBLTwI2A6gCNAmh8VNFrDeKUEpTT9ZZDT9Mo3qa1jSTnbNgDqCua4fDlJ83Gm/
WaLseT6QMK2gkfYZ5HJgzax0eNsM0qLmcZ5HwzJLE1jojwIJM1EOCqz+tNtagXYH
MjI9c/NCHNBYGYShegf7ZZ2SAe1pZLr8lpF+vpmP7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KvwPn71nhbwr5xnIVzYA9glmMSimMQqH3M+cgQM/KfCfBLEesjqM8Xg
GZSFizAvtHP77Lmz70wzRMPLz+blf7RtoOm9YiVDWFoLQ0SyQQ9c/83dzuEdqj+7
7v7Horw5JMn1RvGqNOCIR//zk3AkQgTi/AbuYE9LflN+7iuqO6k3beycRcwqca6w
IOipUNqWJ/CanvPJl4OITg==
-----END CERTIFICATE-----
14 changes: 14 additions & 0 deletions salt/monitoring_server/init.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
include:
- scc.monitoring_server

certificate_authority_certificate:
file.managed:
- name: /etc/pki/trust/anchors/ca.cert.pem
- source: salt://build_host/certs/ca.cert.pem
- makedirs: True

{# Do not run update-ca-certificates on SLE 15 because there is #}
{# already a systemd unit that watches for changes and runs it: #}
{# /usr/lib/systemd/system/ca-certificates.path #}

{% endif %}

0 comments on commit 9f84288

Please sign in to comment.