2 # Note(TheJulia): This file is based upon the file format provided by the git
3 # committed example located at:
4 # http://git.openstack.org/cgit/openstack/ironic-inspector/tree/example.conf
7 {% if enable_keystone is defined and enable_keystone | bool == true %}
8 auth_strategy = keystone
10 auth_strategy = {{ inspector_auth | default('noauth') }}
12 debug = {{ inspector_debug | bool }}
15 connection=mysql+pymysql://inspector:{{ ironic_db_password }}@localhost/inspector?charset=utf8
20 manage_firewall = {{ inspector_manage_firewall | bool | default('false') }}
23 {% if enable_keystone is defined and enable_keystone | bool == true %}
24 os_region = {{ keystone.bootstrap.region_name | default('RegionOne') }}
25 project_name = baremetal
26 username = {{ ironic_inspector.keystone.default_username }}
27 password = {{ ironic_inspector.keystone.default_password }}
28 auth_url = {{ ironic_inspector.service_catalog.auth_url }}
30 auth_strategy = keystone
31 user_domain_id = default
32 project_domain_id = default
35 auth_strategy = {{ ironic_auth_strategy | default('noauth') }}
38 {% if enable_keystone is defined and enable_keystone | bool == true %}
40 auth_plugin = password
41 auth_url = {{ ironic_inspector.service_catalog.auth_url }}
42 username = {{ ironic_inspector.service_catalog.username }}
43 password = {{ ironic_inspector.service_catalog.password }}
44 user_domain_id = default
45 project_name = service
46 project_domain_id = default
50 # Note(TheJulia) preserving ironic_url in the configuration
51 # in case future changes allow breaking of the deployment across
53 #ironic_url = http://localhost:6385/
57 add_ports = {{ inspector_port_addition | default('pxe') }}
58 keep_ports = {{ inspector_keep_ports | default('present') }}
59 ramdisk_logs_dir = {{ inspector_data_dir }}/log
60 always_store_ramdisk_logs = {{ inspector_store_ramdisk_logs | default('true') | bool }}
61 {% if inspector.discovery.enabled == true %}
62 node_not_found_hook = enroll
65 enroll_node_driver = {{ inspector.discovery.default_node_driver }}