Browse Source

fix adding ca certs to centos/redhat

pull/123/head
tomas kamm 7 years ago
parent
commit
4e87758a6e
2 changed files with 5 additions and 2 deletions
  1. +4
    -1
      linux/map.jinja
  2. +1
    -1
      linux/system/certificate.sls

+ 4
- 1
linux/map.jinja View File

@@ -18,6 +18,7 @@
},
'selinux': 'permissive',
'ca_certs_dir': '/usr/local/share/ca-certificates',
'ca_certs_bin': 'update-ca-certificates',
'atop': {
'enabled': false,
'interval': '20',
@@ -45,6 +46,7 @@
},
'selinux': 'permissive',
'ca_certs_dir': '/usr/local/share/ca-certificates',
'ca_certs_bin': 'update-ca-certificates',
'atop': {
'enabled': false,
'interval': '20',
@@ -71,7 +73,8 @@
'pkgs': []
},
'selinux': 'permissive',
'ca_certs_dir': '/usr/local/share/ca-certificates',
'ca_certs_dir': '/etc/pki/ca-trust/source/anchors',
'ca_certs_bin': 'update-ca-trust extract',
'atop': {
'enabled': false,
'interval': '20',

+ 1
- 1
linux/system/certificate.sls View File

@@ -35,7 +35,7 @@ linux_system_ca_certificates:

update_certificates:
cmd.wait:
- name: update-ca-certificates
- name: {{ system.ca_certs_bin }}

{%- endif %}


Loading…
Cancel
Save