forked from tobami/littlechef
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove chef-solo.rb and create it on the fly
- Loading branch information
Showing
34 changed files
with
99 additions
and
1,482 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
include README.textile | ||
include LICENSE | ||
graft cookbooks | ||
graft roles |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,15 @@ | ||
#!/bin/bash | ||
fab -f littlechef.py $@ | ||
#!/usr/bin/env python | ||
import sys | ||
from subprocess import call | ||
from distutils.sysconfig import get_python_lib | ||
|
||
args = ['fab', '-f', '%s/littlechef.py' % get_python_lib()] | ||
|
||
if len(sys.argv) > 1: | ||
# Pass on arguments to fabric | ||
args.extend(sys.argv[1:]) | ||
else: | ||
sys.exit("No command given. Type '%s -l' for a list of commands" % sys.argv[0]) | ||
|
||
# Call fabric with the given arguments | ||
call(args) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.