On Tue, Apr 12, 2016 at 11:48 PM, Chamila De Alwis <[email protected]>
wrote:

> Hi,
>
> To continue the earlier concern to copy all the files inside
> `repository/components/lib` folder without specifying their filenames in
> the Hiera YAML, I think that would cause problems when multiple profiles
> and platforms are provisioned. For example we don't need Kubernetes
> Membership Scheme JAR file for a non-clustered setup, but we can't delete
> that from Puppet either, because it has to support provisioning for
> container image run on Kubernetes as well.
>

Yes it make sense, we would need to specifically mention the file list in
each platform/profile!

Thanks

>
>
> Regards,
> Chamila de Alwis
> Committer and PMC Member - Apache Stratos
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
>
>
> On Tue, Apr 12, 2016 at 11:40 PM, Chamila De Alwis <[email protected]>
> wrote:
>
>>
>> On Tue, Apr 12, 2016 at 11:01 PM, Imesh Gunaratne <[email protected]> wrote:
>>
>>> Looks good! Regarding the "iaas" folder, shall we rename it to default
>>> and remove the files under product/profile/?
>>>
>>
>> +1.
>>
>> I renamed this to `default`. `default` platform will contain all the
>> common data that will be overriden in other platforms. Now the
>> Hiera hierarchy looks like the following.
>>
>> [image: Inline image 1]
>>
>> Data such as pack filename will not have to be duplicated in all the
>> platforms, as it will  be found when the lookup reaches
>> `"wso2/%{::product_name}/%{::product_version}/default/%{::product_profile}"`
>> or `"wso2/%{::product_name}/%{::product_version}/default/default"` level.
>>
>>
>> Regards,
>> Chamila de Alwis
>> Committer and PMC Member - Apache Stratos
>> Software Engineer | WSO2 | +94772207163
>> Blog: code.chamiladealwis.com
>>
>>
>>
>


-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.io
Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to