[Fiware-testbed-help] Help with Chef recipes

Arto Heikkinen arto.heikkinen at cie.fi
Wed Aug 20 12:13:18 CEST 2014


Hi,

I managed to get the cookbook (poi_dp) to the svn.

Now I am trying to test the client-server configuration. The 
instructions say:
"2. You can deploy a VM with a chef-client installed (this chef-client 
is connected to the chef server). There is an image which is called 
chef-client-test which you can use "

I cannot find an image with this name in the testbed. What is the 
correct image to use?

Br,
Arto Heikkinen

On 19.8.2014 12:44, HENAR MUÑOZ FRUTOS wrote:
>
> Hi
>
> Thanks for contacting us.
>
> My answers inline.
>
> Regards,
>
> Henar
>
> *De:*fiware-testbed-help-bounces at lists.fi-ware.org 
> [mailto:fiware-testbed-help-bounces at lists.fi-ware.org] *En nombre de 
> *Arto Heikkinen
> *Enviado el:* martes, 19 de agosto de 2014 11:00
> *Para:* fiware-testbed-help at lists.fi-ware.org
> *Asunto:* [Fiware-testbed-help] Help with Chef recipes
>
> 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?
>
> [Henar] You can have a look at others cookbook. Have you already 
> uploaded it? I can have a look and provide to you feedback.
>
>
>     * Are there any instructions available for working with the svn, 
> how do I upload my cookbook there?
>
> [Henar] You need to upload your cookbook in 
> https://forge.fi-ware.org/scmrepos/svn/testbed/trunk/cookbooks/GESoftware. 
> It is a svn, you can use any svn client or just command line.
>
>     * 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?
>
> [Henar] The url is https://130.206.81.105. I have just updated the 
> wiki information.
>
>
>
> *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?
>
> [Henar] For chef-solo (see the WIKI) is chef-solo -j node.json. For 
> chef-client, just execute chef-client after you have configured your 
> node (see WIKI)
>     * 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?
>
> [Henar] Information updated.
>
>     * Could you please provide me the access credentials to this chef 
> server?
>
> [Henar] I will provide to you the credential in a separated mail.
>
> 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
>
>
> ------------------------------------------------------------------------
>
> Este mensaje y sus adjuntos se dirigen exclusivamente a su 
> destinatario, puede contener información privilegiada o confidencial y 
> es para uso exclusivo de la persona o entidad de destino. Si no es 
> usted. el destinatario indicado, queda notificado de que la lectura, 
> utilización, divulgación y/o copia sin autorización puede estar 
> prohibida en virtud de la legislación vigente. Si ha recibido este 
> mensaje por error, le rogamos que nos lo comunique inmediatamente por 
> esta misma vía y proceda a su destrucción.
>
> The information contained in this transmission is privileged and 
> confidential information intended only for the use of the individual 
> or entity named above. If the reader of this message is not the 
> intended recipient, you are hereby notified that any dissemination, 
> distribution or copying of this communication is strictly prohibited. 
> If you have received this transmission in error, do not read it. 
> Please immediately reply to the sender that you have received this 
> communication in error and then delete it.
>
> Esta mensagem e seus anexos se dirigem exclusivamente ao seu 
> destinatário, pode conter informação privilegiada ou confidencial e é 
> para uso exclusivo da pessoa ou entidade de destino. Se não é vossa 
> senhoria o destinatário indicado, fica notificado de que a leitura, 
> utilização, divulgação e/ou cópia sem autorização pode estar proibida 
> em virtude da legislação vigente. Se recebeu esta mensagem por erro, 
> rogamos-lhe que nos o comunique imediatamente por esta mesma via e 
> proceda a sua destruição

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-testbed-help/attachments/20140820/dfc75634/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