Merge "BUG-5006: Reduce usage of PowerMock"
[netvirt.git] / resources / puppet / templates / compute.local.conf.erb
index 0619f2cfa037f0cebd1bf5b7efd1c32afb6cca6d..693d4169bb1d7bd1f90596037e8f19c5bd9a6a03 100644 (file)
@@ -5,8 +5,8 @@ LOG_COLOR=False
 #OFFLINE=True
 #RECLONE=yes
 
-HOST_IP=<%= @hosts['devstack-compute']['ipaddress'] %>
-HOST_NAME=<%= @hosts['devstack-compute']['name'] %>
+HOST_IP=<%= @hosts[@hostname]['ipaddress'] %>
+HOST_NAME=<%= @hosts[@hostname]['name'] %>
 SERVICE_HOST=<%= @hosts['devstack-control']['name'] %>
 SERVICE_HOST_NAME=<%= @hosts['devstack-control']['name'] %>