Skip to content

Instantly share code, notes, and snippets.

@shiraji
Created June 16, 2013 16:36
Show Gist options
  • Save shiraji/5792582 to your computer and use it in GitHub Desktop.
Save shiraji/5792582 to your computer and use it in GitHub Desktop.
いちいち、berkshelfをキックして、chef-soloをキックするのが面倒だったので・・・
#!/bin/sh
# get cookbooks using berkshelf
berks install --path cookbooks
# run chef-solo
if [ "$?" = "0" ] then
chef-solo -c solo.rb -j nodes/chef.json
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment