lib/routes/main.rb in gaptool-server-0.5.15 vs lib/routes/main.rb in gaptool-server-0.5.16

- old
+ new

@@ -121,9 +121,10 @@ data['terminate'] = host_data['terminate'].nil? ? 'true' : host_data['terminate'] hash2redis("host:#{data['role']}:#{data['environment']}:#{@instance.id}", data) @chef_repo = host_data['chef_repo'] && !host_data['chef_repo'].empty? ? host_data['chef_repo'] : $redis.hget('config', 'chefrepo') @chef_branch = host_data['chef_branch'] && !host_data['chef_branch'].empty? ? host_data['chef_branch'] : $redis.hget('config', 'chefbranch') + @chef_environment = data['environment'] @initkey = $redis.hget('config', 'initkey') @json = { 'hostname' => hostname, 'recipe' => 'init', 'number' => @instance.id,