
Ironic Inspector has been retired and its functionality has been moved to Ironic. Added a change to service-ks-register to make password optional (to able to remove user without a password being passed in). Using the opportunity - increasing CI coverage to include inspection. Change-Id: If178c23249370c7c69744843737e61a6309d6a19 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
40 lines
1.4 KiB
Django/Jinja
40 lines
1.4 KiB
Django/Jinja
{% set apache_conf_dir = 'apache2/conf-enabled' if kolla_base_distro in ['ubuntu', 'debian'] else 'httpd/conf.d' %}
|
|
{% set apache_cmd = 'apache2' if kolla_base_distro in ['ubuntu', 'debian'] else 'httpd' %}
|
|
{
|
|
"command": "{{ apache_cmd }} -DFOREGROUND",
|
|
"config_files": [
|
|
{% if groups['ironic-dnsmasq'] | length > 0 %}
|
|
{
|
|
"source": "{{ container_config_directory }}/ironic-agent.kernel",
|
|
"dest": "/var/lib/ironic/httpboot/ironic-agent.kernel",
|
|
"owner": "root",
|
|
"perm": "0644"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/ironic-agent.initramfs",
|
|
"dest": "/var/lib/ironic/httpboot/ironic-agent.initramfs",
|
|
"owner": "root",
|
|
"perm": "0644"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/ipa.ipxe",
|
|
"dest": "/var/lib/ironic/httpboot/ipa.ipxe",
|
|
"owner": "root",
|
|
"perm": "0644"
|
|
},
|
|
{% endif %}
|
|
{
|
|
"source": "{{ container_config_directory }}/httpd.conf",
|
|
"dest": "/etc/{{ apache_conf_dir }}/httpboot.conf",
|
|
"owner": "root",
|
|
"perm": "0644"
|
|
}{% if kolla_copy_ca_into_containers | bool %},
|
|
{
|
|
"source": "{{ container_config_directory }}/ca-certificates",
|
|
"dest": "/var/lib/kolla/share/ca-certificates",
|
|
"owner": "root",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
]
|
|
}
|