[chef] Re: having problems getting jenkins cookbook to do anything


Chronological Thread 
  • From: Michael Hayes < >
  • To:
  • Subject: [chef] Re: having problems getting jenkins cookbook to do anything
  • Date: Thu, 29 Aug 2013 16:23:39 -0500

Hm ok. I will look at this concept. I really don't understand chef all that well.



I think we might have discussed this on IRC briefly.

I think the problem is conceptual - you don't need to modify the recipe's metadata.rb - you need to modify your node's run_list to include the recipes you want.

I tried to find an example on learnchef.com for how to do that, but couldn't find that distinct idea represented.

-M


On Thu, Aug 29, 2013 at 5:14 PM, Michael Hayes < " target="_blank"> > wrote:
I forked https://github.com/opscode-cookbooks/jenkins

and modified the metadata.rb file:
name             "jenkins"
maintainer       "Opscode, Inc."
maintainer_email " "> "
license          "Apache 2.0"
description      "Installs and configures Jenkins CI server & slaves"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version          "0.8.0"

depends "java"
depends "runit", ">= 1.0.0"
depends "apt"

depends "apache2"
depends "nginx"
depends "iptables"

recipe "jenkins::server",  "run server recipe."     <<-- added this line


Berksfile:
site :opscode

cookbook 'runit', '>= 1.1.2'
cookbook 'jenkins', github: 'hayesmp/jenkins-cookbook'

And I get nothing, it doesn't install anything:
Uploading the kitchen...
   Generating solo config...
   Running Chef...
   Starting Chef Client, version 11.6.0
   Compiling Cookbooks...
   Converging 0 resources
   Chef Client finished, 0 resources updated






Archive powered by MHonArc 2.6.16.

§