summaryrefslogtreecommitdiff
path: root/bin/chef-zero
diff options
context:
space:
mode:
authorjkeiser <jkeiser@opscode.com>2012-12-19 23:22:54 -0800
committerjkeiser <jkeiser@opscode.com>2012-12-19 23:23:21 -0800
commit666374b272a8851a2c57530a71a6183d4d06a648 (patch)
treeb53efd8134aa36ab0d459f3e4e87e1a6bbd1fe21 /bin/chef-zero
downloadchef-zero-666374b272a8851a2c57530a71a6183d4d06a648.tar.gz
Initial commit (moved/split up from jk/tiny-chef-server branch of jkeiser/chef)
Diffstat (limited to 'bin/chef-zero')
-rwxr-xr-xbin/chef-zero8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/chef-zero b/bin/chef-zero
new file mode 100755
index 0000000..590d670
--- /dev/null
+++ b/bin/chef-zero
@@ -0,0 +1,8 @@
+#!/usr/bin/env ruby
+
+require 'rubygems'
+$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "..", "lib")))
+require 'chef_zero/server'
+
+server = ChefZero::Server.new(:Port => 8889)
+server.start