#!/bin/bash
ADMIN_ESSENTIALS="git://github.com/sometimesfood/chef-admin-essentials.git"
APT_REPO="git://github.com/sometimesfood/chef-apt-repo.git"
COOKBOOK_DIR=`mktemp -d -t chef-admin-essentials.XXXXXX` || exit 1
cd ${COOKBOOK_DIR}
git clone ${ADMIN_ESSENTIALS} admin-essentials
git clone ${APT_REPO} apt-repo
sudo EDITOR="${EDITOR}" chef-solo -c admin-essentials/contrib/standalone-config.rb

#!/bin/bash
ADMIN_ESSENTIALS="http://github.com/sometimesfood/chef-admin-essentials.git"
APT_REPO="http://github.com/sometimesfood/chef-apt-repo.git"
COOKBOOK_DIR=`mktemp -d -t chef-admin-essentials.XXXXXX` || exit 1
cd ${COOKBOOK_DIR}
git clone ${ADMIN_ESSENTIALS} admin-essentials
git clone ${APT_REPO} apt-repo
sudo EDITOR="${EDITOR}" chef-solo -c admin-essentials/contrib/standalone-config.rb

--- 
+++ 
@@ -1,6 +1,6 @@
 #!/bin/bash
-ADMIN_ESSENTIALS="http://github.com/sometimesfood/chef-admin-essentials.git"
-APT_REPO="http://github.com/sometimesfood/chef-apt-repo.git"
+ADMIN_ESSENTIALS="git://github.com/sometimesfood/chef-admin-essentials.git"
+APT_REPO="git://github.com/sometimesfood/chef-apt-repo.git"
 COOKBOOK_DIR=`mktemp -d -t chef-admin-essentials.XXXXXX` || exit 1
 cd ${COOKBOOK_DIR}
 git clone ${ADMIN_ESSENTIALS} admin-essentials
Use git protocol for cloning repositories
