Round up for # of nodes to start
@@ -5310,7 +5310,7 @@ HOSTS
def appservers_to_nodes(num_appservers, max_app_mem)
# TODO: We should check the cores/RAM of @options['instance_type'],
# then understand how many AppServers of max_app_mem each we can fit.
- return Integer(num_appservers/3)
+ return (num_appservers/3).ceil
end
# Try to add an AppServer for the specified version, ensuring that a
