 
       ComputeProvider.createGroupStack client,
         addGroupAdminToMachines: yes
-      , (err, res = {})->
+      , (err, res = {}) ->
 
         {stack, results} = res
 

      'delete machines'   : ['member','moderator']
      'update machines'   : ['member','moderator']
      'list own machines' : ['member','moderator']
    sharedMethods         :
      static              :
        ping              :

    callback ?= ->
    options  ?= {}

    fetchGroupStackTemplate client, (err, res) ->

      return callback err  if err

      {template, account} = res
      checkTemplateUsage template, account, (err) ->
        return callback err  if err

        account.addStackTemplate template, (err) ->
          return callback err  if err

          ComputeProvider.generateStackFromTemplate res, options, callback


  do ->

    JGroup = require '../group'
    JGroup.on 'MemberAdded', ({group, member}) ->

      # No need to try creating group stacks for guests or koding group members
      return  if group.slug in ['guests', 'koding']
