Permalink
Browse files

Stubbed out chef script

  • Loading branch information...
migurski committed Oct 20, 2014
0 parents commit e4b0da2eb310ded8427c2005190af9837781091c
Showing with 25 additions and 0 deletions.
  1. +5 −0 role-ubuntu.json
  2. +12 −0 run.sh
  3. +8 −0 solo.rb
@@ -0,0 +1,5 @@
{
"run_list":
[
]
}
12 run.sh
@@ -0,0 +1,12 @@
#!/bin/sh -e
#
# Install the chef ruby gem if chef-solo is not in the path.
# This script is safe to run multiple times.
#
if [ ! `which chef-solo` ]; then
apt-get install -y build-essential ruby ruby-dev
gem install chef ohai --no-rdoc --no-ri
fi
cd `dirname $0`
chef-solo -c $PWD/solo.rb -j $PWD/role-ubuntu.json
@@ -0,0 +1,8 @@
#
# http://docs.opscode.com/config_rb_solo.html
#
file_cache_path "/tmp/chef-solo"
cookbook_path File.dirname(__FILE__)
log_level :info
log_location "/var/log/cheflog"
ssl_verify_mode :verify_none

0 comments on commit e4b0da2

Please sign in to comment.