[Fiware-testbed-help] Help with Chef recipes

Arto Heikkinen arto.heikkinen at cie.fi
Tue Aug 19 11:00:01 CEST 2014


Hello testbed folks,

I am working with the chef recipes. I have read the instructions 
provided in 
http://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/How_to_create_recipes_for_the_GEs

I am now at the point where the recipes seem to be working standalone, I 
have tested them with chef-apply command (I know, this was not in the 
provided instructions. I found this command myself and it seemed to be 
the quickest and easiest way to test-run a recipe).

The last parts of the instructions are a bit confusing, and I have a few 
questions:

*Recipes structure*

"1. When you have created your cookbok, please upload it into the svn. 
Your cookbooks will be uploaded automatically to the chef server for 
testing: http://130.206.80.113:4040 (admin/chef321go). There you can 
check that your cookbook is there. "

     * For a very basic cookbook, do I have to do anything else than 
create the recipes under the recipes folder ? Do I have to e.g. 
create/modify some configuration files etc?
     * Are there any instructions available for working with the svn, 
how do I upload my cookbook there?
     * The URL given for the chef server (http://130.206.80.113:4040) 
does not seem to work, at least with a web browser. How is this URL 
meant to be used? Do I have to configure it somewhere in Chef or is it 
supposed to work with a web browser?

*Chef client / Chef-server
*
"Once the recipes have been testbed with the chef-solo, it's time for 
using the chef-client /chef-server configuration. FI-WARe provides an 
experimentation chef-server (https://130.206.81.105). To work with it, 
firstly, you need to ask for a valid admin user for the chef-server to 
the testbed team. "

     * How do I test the recipes with chef-solo? I don't think the 
instructions describe this in any way?
     * I guess the server address given here is a totally different 
instance than given previously in the "Recipes structure" ? What are the 
differences/roles of these two servers?
     * Could you please provide me the access credentials to this chef 
server?

This is the very first time I have ever worked with Chef, so I realize 
my questions might be dumb and obvious. Try to bare with me :)

Br,
Arto

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-testbed-help/attachments/20140819/514c29db/attachment.html>


More information about the Fiware-testbed-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy