1 2 3 4 5 6
#!/bin/sh cd /home/sdc/chef-solo chef-solo -c solo.rb -E ${ENVNAME} rc=$? if [ $rc -ne 0 ]; then exit $rc; fi