Hotfix/deploy correct

Hi,

I need deploy sentry with your cookbook, however some fix were necessary and I fix it.

I'm send to a pull request to you evaluate if help all.

Thanks for listening.