Ohai, So, I'm using the shiny new Jenkins cookbook, specifically the jenkins_plugin LWRP. I notice this now has both an install action and an enable action. I have an array of plugins I want to install. I tried: array_of_plugins.each do |plugin| jenkins_plugin plugin do action [:install, :enable] end end This failed, saying that the first plugin wasn't installed, so couldn't be enabled. Really? So, I tried: array_of_plugins.each do |plugin| jenkins_plugin plugin do action [:install] end jenkins_plugin plugin do action [:enable] end end This also failed, in a similar fashion. So it's come to this? array_of_plugins.each do |plugin| jenkins_plugin plugin do action [:install] end end array_of_plugins.each do |plugin| jenkins_plugin plugin do action [:enable] end end This works! But I see a rash of CHEF-3694 cloning warnings. What the actual fsck? What am I missing? S. -- Stephen Nelson-Smith @LordCope http://www.agilesysadmin.net |
Archive powered by MHonArc 2.6.16.