Allow to set organizationName field for certificate.
Change-Id: I77a710ad93a3cc46b721a5b3f1e45603151b0761
diff --git a/salt/minion/cert.sls b/salt/minion/cert.sls
index 09ef9d1..720a695 100644
--- a/salt/minion/cert.sls
+++ b/salt/minion/cert.sls
@@ -69,6 +69,7 @@
{% if cert.country is defined %}- C: {{ cert.country }}{%- endif %}
{% if cert.locality is defined %}- L: {{ cert.locality }}{%- endif %}
{% if cert.organization is defined %}- O: {{ cert.organization }}{%- endif %}
+ {% if cert.organization_name is defined %}- organizationName: {{ cert.organization_name }}{%- endif %}
{% if cert.signing_private_key is defined and cert.signing_cert is defined %}
- signing_private_key: "{{ cert.signing_private_key }}"
- signing_cert: "{{ cert.signing_cert }}"