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

}, },
'selinux': 'permissive', 'selinux': 'permissive',
'ca_certs_dir': '/usr/local/share/ca-certificates', 'ca_certs_dir': '/usr/local/share/ca-certificates',
'ca_certs_bin': 'update-ca-certificates',
'atop': { 'atop': {
'enabled': false, 'enabled': false,
'interval': '20', 'interval': '20',
}, },
'selinux': 'permissive', 'selinux': 'permissive',
'ca_certs_dir': '/usr/local/share/ca-certificates', 'ca_certs_dir': '/usr/local/share/ca-certificates',
'ca_certs_bin': 'update-ca-certificates',
'atop': { 'atop': {
'enabled': false, 'enabled': false,
'interval': '20', 'interval': '20',
'pkgs': [] 'pkgs': []
}, },
'selinux': 'permissive', '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': { 'atop': {
'enabled': false, 'enabled': false,
'interval': '20', 'interval': '20',

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



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


{%- endif %} {%- endif %}



Loading…
Cancel
Save