Browse Source

Merge pull request #123 from slimakcz/fix_add_cert_centos

fix adding ca certs to ca trust on centos/redhat
pull/126/head
Filip Pytloun 7 years ago
parent
commit
2cb0421818
No account linked to committer's email address
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