[ 
https://issues.apache.org/jira/browse/JCLOUDS-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13652961#comment-13652961
 ] 

Ignasi Barrera edited comment on JCLOUDS-3 at 5/9/13 1:54 PM:
--------------------------------------------------------------

There is not support for that yet. I think there are two ways of adding this:

1. Adding an environment parameter to the 
ChefService.createBootstrapScriptForGroup method.
2. Adding an environment parameter to the 
ChefService.updateBootstrapConfigForGroup method.

The first approach means that every time someone generates the bootstrap 
script, the environment must be provided (otherwise "_default" will be used).

With the second approach, the environment could be included into the bootstrap 
databag. Currently the databag configuration stores the name of the group, and 
the runlist for the nodes in the group. It seems like a good place to store the 
environment where the nodes in the group should be created.

I think the second approach would be better, as the bootstrap databag is a 
natural place to store all bootstrap related information.

Sounds good?
                
      was (Author: nacx):
    There is not support for that yet. I think there are be two ways of adding 
this:

1. Adding an environment parameter to the 
ChefService.createBootstrapScriptForGroup method.
2. Adding an environment parameter to the 
ChefService.updateBootstrapConfigForGroup method.

The first approach means that every time someone generates the bootstrap 
script, the environment must be provided (otherwise "_default" will be used).

With the second approach, the environment could be included into the bootstrap 
databag. Currently the databag configuration stores the name of the group, and 
the runlist for the noes in the group. It seems like a good place to store the 
environment where the nodes in the group should be created.

I think the second approach would be better, as the bootstrap databag is a 
natural place to store all bootstrap related information.

Sounds good?
                  
> Jcloud support for custom chef environment.
> -------------------------------------------
>
>                 Key: JCLOUDS-3
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-3
>             Project: jclouds
>          Issue Type: New Feature
>            Reporter: Jayant Kaushal
>            Assignee: Ignasi Barrera
>
> Jcloud support for custom chef environment.
> Trying to bootstrap a node in a different environment that _default.
> Is there a support for that 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to