I’ve been trying to setup a recipe to install Jenkins, install two plugs (git and github) and then setup a repository to accept webhooks from.
Jenkins cli has an issue with my hostname that it tries to use in the url (which is not resolvable).
If I set my ‘hostname’ to ‘0.0.0.0’ and run ‘knife solo cook’ on the recipe twice, it fails the first time and succeeds the second time.
Here’s my recipe:
The question is, is there any way to get chef to do the entire jenkins setup before running my plugin install (an other setup), or do a simply have to run chef once (to a failure) and then a second time to success?