chef-training / chef_classroom

Chef-provisioning cookbook for managing a Chef Training Classroom
Other
5 stars 6 forks source link

Additional actions should be available through the portal #14

Open gmiranda23 opened 9 years ago

gmiranda23 commented 9 years ago

Following the Demo workflow, once the portal is up there should be a clickable action to launch the next action. In other words:

  1. Portal has a button that executes local system command chef-client -z -r 'recipe[chef_classroom::deploy_workstations]' to set up base student workstations.
  2. Portal page has a button for the next action that invokes chef-client -z -r 'recipe[chef_classroom::destroy_workstations]' when clicked.
  3. Portal page has a button for the next action that invokes chef-client -z -r 'recipe[chef_classroom::deploy_first_nodes]' when clicked.
  4. Portal page has a button for next action that invokes chef-client -z -r 'recipe[chef_classroom::deploy_server]'.

Etc etc etc until we get to the end of the workflow.