local_settings.py fixes
- there was a bug in the 'misc-section' when value is a boolean it would've been printed in ticks. In Python boolean is treated as Reference, this means it is written uppercase Change-Id: Idc03f2bd1f7ee519e404e5a30711a81493acf522
This commit is contained in:
parent
1f3ed2d4fd
commit
d079f432fd
|
@ -639,7 +639,7 @@ mod.INSTALLED_APPS += ('<%= p %>', )
|
||||||
<% node["openstack"]["dashboard"]["misc_local_settings"].each do |sec, opts| %>
|
<% node["openstack"]["dashboard"]["misc_local_settings"].each do |sec, opts| %>
|
||||||
<%= sec %> = {
|
<%= sec %> = {
|
||||||
<% opts.each do |key, value| %>
|
<% opts.each do |key, value| %>
|
||||||
'<%= key %>': '<%= value %>',
|
'<%= key %>': <%= !!value == value ? ( value ? "True" : "False" ) : "'#{value}'" %>,
|
||||||
<% end %>
|
<% end %>
|
||||||
}
|
}
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue