Posted in Chef DevOps

chef vault ERROR: Errno::ENOENT: No such file or directory @ dir_s_mkdir

ERROR: Errno::ENOENT: No such file or directory @ dir_s_mkdir If you get this error whilst editing a chef vault then…

Posted in Chef DevOps git

Pulled your chef cookbooks from git over https only to find you need to push them over SSH?

for I in $(find ~/chef-cookbooks -type d -name “cookbook*”); do cd $I NAME=”$(basename ${I}).git” git remote set-url origin git@github.com:project/${NAME} git…