 	###
 	actions = []
 	
+	#
+	# Invoke the halt method.
+	#
 	actions.push (node_name, callback) ->
 		exports.halt opt, manifest, provider, [node_name], (err) ->
 			return callback err if err
 			return callback null, node_name
 			
+	#
+	# Invoke the boot method.
+	#
 	actions.push (node_name, callback) ->
 		exports.boot opt, manifest, provider, [node_name], (err) ->
 			return callback err if err
 			return callback null, node_name
 			
+	#
+	# Invoke actions.
+	#
 	process_node = (node_name, callback) ->
 		logsmith.verbose "restart node #{node_name}"
 		

	
# ---

exports.up = (opt, manifest, provider, node_names, callback) ->
	###
	This action will bring up a node by first booting it and than starting the provisioning process.
	###
	process_node = (node_name, callback) ->
		provider.status node_name, (err, state, address) ->
			return callback err if err

	###
	This action halts nodes.
	###
	
	#
	# Call provider's halt for each node.
	#
	process_node = (node_name, callback) ->
		logsmith.verbose "halt node #{node_name}"
		
