This cookbook didn't work for me unless I swapped the gitlab service resource and the template resource for writing /etc/init.d/gitlab.