Securing jenkins using groovy and chef