Creates a tarball of Chef cookbooks from a Berksfile or Cheffile for chef-solo.
Copy the program to your local machine (perhaps ~/bin
?) and install
Berkshelf or Librarian-Chef:
$ mkdir -p $HOME/bin
$ (cd $HOME/bin && curl -sLO http://git.io/orderup)
$ chmod 755 $HOME/bin/orderup
$ gem install berkshelf librarian
Need a cookbooks to deploy Sensu? Create yourself a Berksfile
with the
following:
#!/usr/bin/env ruby
#^syntax detection
site :opscode
cookbook 'sensu'
# this cookbook is not published on the community site
cookbook 'redis', :git => 'git://github.com/miah/chef-redis.git'
Now create your cookbooks tarball with a daily build timestamp!
$ orderup sensu-$(date +%Y%m%d)
Upload to an HTTP server or push out to a node for a chef-solo run.
Need a cookbooks to run a Ruby application server? Create yourself a
Cheffile
with the following:
#!/usr/bin/env ruby
#^syntax detection
site 'http://community.opscode.com/api/v1'
cookbook 'ruby_build'
cookbook 'rbenv_system_pkgs', :git => 'https://github.com/fnichol/chef-rbenv_system_pkgs',
:ref => 'v0.1.0'
cookbook 'rbenv', :git => 'git://github.com/fnichol/chef-rbenv.git',
:ref => 'v0.6.10'
cookbook 'fanfare', :git => 'git://github.com/fnichol/chef-fanfare.git'
Now create your cookbooks tarball!
$ orderup rubyapp
Upload to an HTTP server or push out to a node for a chef-solo run.