Configure 'conductor/api_url' if its not defined in another place
It's temporary solution to configure 'conductor/api_url' parameter via 'ironic_config' provider till it will be implemented in 'ironic::conductor' class of puppet-ironic project. Closes-Bug: #1613644 Change-Id: I27467942525956a8f9f29c055bc2046afe78f236
This commit is contained in:
parent
05fb73e6ea
commit
d9853851de
|
@ -112,7 +112,12 @@ class openstack_tasks::roles::ironic_conductor {
|
|||
'glance/swift_temp_url_key': value => $ironic_swift_tempurl_key;
|
||||
'glance/swift_endpoint_url': value => "http://${baremetal_vip}:8080";
|
||||
'glance/temp_url_endpoint_type': value => $temp_url_endpoint_type;
|
||||
'conductor/api_url': value => "http://${baremetal_vip}:6385";
|
||||
}
|
||||
|
||||
if !defined(Ironic_config['conductor/api_url']) {
|
||||
ironic_config { 'conductor/api_url': value => "http://${baremetal_vip}:6385" }
|
||||
} else {
|
||||
Ironic_config<| title == 'conductor/api_url' |> { value => "http://${baremetal_vip}:6385" }
|
||||
}
|
||||
|
||||
file { $tftp_root:
|
||||
|
|
Loading…
Reference in New Issue