Skip to content

Commit

Permalink
Make fabric depend on version 0.9.3 to avoid getting 1.0, which is no…
Browse files Browse the repository at this point in the history
…t fully backwards compatible
  • Loading branch information
tobami committed Mar 8, 2011
1 parent 160a57e commit 0c4122d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
15 changes: 7 additions & 8 deletions README.textile
Expand Up @@ -14,7 +14,7 @@ It all starts in the kitchen, your deployment directory, which you should keep u
@auth.cfg@: Authentication information needed to be able to connect to the nodes
@nodes/@: After recipes are run on nodes, their configuration is stored here
@cookbooks/@: This will be your cookbooks repository
@roles/@: Where roles are defined
@roles/@: Where Chef roles are defined

Whenever you apply a recipe to a node, all needed cookbooks (including dependencies) and all roles are gzipped and uploaded to that node, to the @/tmp/chef-solo/@ directory. A node.json file gets created on the fly and uploaded, and Chef Solo gets executed at the remote node, using node.json as the node configuration and the pre-installed solo.rb for Chef Solo configuration.

Expand All @@ -26,18 +26,17 @@ h3. Requirements

* Python 2.6+
* Setuptools
* Fabric 0.9.1+
* Fabric 0.9.3

All needed packages are installed by typing
@sudo apt-get install python-fabric@ for Debian and Ubuntu
@sudo apt-get install python-pip python-fabric@ for Debian and Ubuntu
or
@yum install fabric@ for RHEL and CentOS
@yum install python-pip fabric@ for RHEL and CentOS

h3. Installation

You can install Little Chef directly from the PyPI:
@easy_install littlechef@
(or pip install littlechef)
@pip install littlechef@

Note: your distribution may have a @cook@ package that also provides a @cook@ executable. If you have installed it, you need to remove it to avoid collisions with LittleChef's executable.

Expand Down Expand Up @@ -110,14 +109,14 @@ littlechef.configure()#Applies again the saved nodes/MyHostnameOrIP.json configu

h3. Other tutorial material

"Automated Deployments with LittleChef"http://sysadvent.blogspot.com/2010/12/day-9-automated-deployments-with.html
"Automated Deployments with LittleChef":http://sysadvent.blogspot.com/2010/12/day-9-automated-deployments-with.html

h3. Getting help

For help regarding the use of Little Chef, or to share any ideas or suggestions you may have, please post on Little Chef's "discussion group":http://groups.google.com/group/littlechef

h3. Reporting bugs

If you find any bug in Little Chef please report it on "https://github.com/tobami/littlechef/issues":https://github.com/tobami/littlechef/issues
If you find bugs please report it on "https://github.com/tobami/littlechef/issues":https://github.com/tobami/littlechef/issues

Happy cooking!
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -2,14 +2,14 @@
from distutils.core import setup
setup(
name = "littlechef",
version = "0.4.1",
version = "0.4.2alpha",
description = "Cook with Chef without a Chef Server",
author = "Miquel Torres",
author_email = "tobami@googlemail.com",
url = "http://github.com/tobami/littlechef",
download_url = "http://github.com/tobami/littlechef/archives/master",
keywords = ["chef", "devops"],
install_requires=['fabric>=0.9.1', 'simplejson'],
install_requires=['fabric==0.9.3', 'simplejson'],
py_modules = ['littlechef'],
scripts = ['cook'],
zip_safe=False,
Expand Down

0 comments on commit 0c4122d

Please sign in to comment.