Permalink
Browse files

added LICENSE + README

  • Loading branch information...
1 parent 00cbe1c commit a301426e908aefdb7c82868d04a7dead87421941 @dexterbt1 committed May 25, 2012
Showing with 69 additions and 0 deletions.
  1. +23 −0 LICENSE
  2. +46 −0 README.markdown
View
23 LICENSE
@@ -0,0 +1,23 @@
+Copyright (c) 2012, Dexter B. Tad-y
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
View
@@ -0,0 +1,46 @@
+# cuisine\_sweet
+
+Sugar-coated declarative recipes built on top of (Fabric)[http://fabfile.org] and (Cuisine)[https://github.com/sebastien/cuisine]
+
+# Sample fabfile.py
+
+ from fabric.api import task, env
+ from cuisine_sweet import ensure
+
+ env.hosts = [ 'myproject@example.com' ]
+
+ @task
+ def initial():
+ ensure.yum.package_installed('gcc')
+ ensure.yum.package_installed('make')
+ ensure.yum.package_installed('git')
+ ensure.yum.package_installed('python')
+ ensure.yum.package_installed('python-devel')
+ ensure.supervisord.installed()
+
+ @task
+ def deploy():
+ ensure.local_git.up_to_date(against='origin/master')
+ ensure.local_git.clean()
+ ensure.git.rsync('git@ourgit.example.com:myproject.git', 'myproject', refspec='master', base_dir='git')
+ ensure.user_crontab.loaded('git/myproject/user.cron')
+ ensure.supervisord.running('git/myproject/supervisord.conf', '/tmp/myproject.supervisord.pid')
+ ensure.supervisord.updated_with_latest_config('git/myproject/supervisord.conf')
+
+
+# Ensure Modules
+
+* git
+* local\_git
+* yum
+* supervisord
+* user\_crontab
+* fs
+* cpan\_module
+* git
+
+
+# Warning
+
+This is experimental alpha-quality stuff. The API and implementation are still highly fluid and continuously evolving.
+See LICENSE file for more information

0 comments on commit a301426

Please sign in to comment.