lib/deploy-context/deploy/deployer.rb in deploy-context-2.1.35 vs lib/deploy-context/deploy/deployer.rb in deploy-context-2.1.35.2.g385b63e
- old
+ new
@@ -10,29 +10,9 @@
end
def contexts_container(context)
context.get_context_folder(context, 'contexts')
end
-
- def chef_exec(context, commands)
- context.execute_command(%w(chef exec) + commands)
- end
-
- def git(context, commands)
- context.chef_exec(context,['git'] + commands)
- end
-
- def gem(context, commands)
- context.chef_exec(context,['gem'] + commands)
- end
-
- def rake(context, commands)
- context.chef_exec(context,['rake'] + commands)
- end
-
- def cucumber(context, commands = [])
- context.chef_exec(context,['cucumber'] + commands)
- end
def execute_action(context, action)
state_action = if action.nil?
context.cycle
false