From aae2eb2f41e6412af3f9b5751a8634dfc4d2b806 Mon Sep 17 00:00:00 2001 From: Bruno Tavares Date: Thu, 20 Feb 2014 13:24:40 -0300 Subject: [PATCH] Introduce kickstart local --- README.md | 7 +++++++ lib/kickstart-local | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100755 lib/kickstart-local diff --git a/README.md b/README.md index a7c4354..857e20b 100644 --- a/README.md +++ b/README.md @@ -75,5 +75,12 @@ Deploy two roles on a host with an alternative port kickstart deploy "-p 2222 vagrant@localhost" nodejs redis ``` +#### local +Deploy localy a recipe that is not over ssh. It basicaly compile and run the install script + +```bash +kickstart local [roles ...] +``` + ### Thanks This project was inspired on [sunzi](https://github.com/kenn/sunzi) diff --git a/lib/kickstart-local b/lib/kickstart-local new file mode 100755 index 0000000..5706cdc --- /dev/null +++ b/lib/kickstart-local @@ -0,0 +1,7 @@ +#!/bin/bash -e + +kickstart compile $@ +( +cd compile +bash install.sh +)