lib/routes/main.rb in gaptool-server-0.5.6 vs lib/routes/main.rb in gaptool-server-0.5.7
- old
+ new
@@ -86,9 +86,10 @@
@initkey = $redis.hget('config', 'initkey')
@json = {
'hostname' => hostname,
'recipe' => 'init',
'number' => @instance.id,
+ 'instance' => @instance.id,
'run_list' => ['recipe[init]'],
'role' => data['role'],
'environment' => data['environment'],
'chefrepo' => @chef_repo,
'chefbranch' => @chef_branch,