lib/routes.rb in gaptool-server-0.8.1 vs lib/routes.rb in gaptool-server-0.8.2

- old
+ new

@@ -102,9 +102,11 @@ hostname = Gaptool::EC2.get_ec2_instance_data(data['zone'].chop, instance_id)[:hostname] Gaptool::Data.set_server_data_attr(instance_id, 'hostname', hostname) initkey = Gaptool::Data.get_config('initkey') jdata = Gaptool::Data.server_chef_json(instance_id, env, 'identity': initkey) + # force runlist + jdata['run_list'] ||= Gaptool::Data.default_runlist erb :init, locals: { initkey: initkey, chef_branch: jdata['chefbranch'], chef_repo: jdata['chefrepo'],