On Fri, Mar 3, 2017 at 10:27 AM, Isuru Haththotuwa <isu...@wso2.com> wrote:

>
> On Thu, Mar 2, 2017 at 5:36 PM, Anuruddha Liyanarachchi <
> anurudd...@wso2.com> wrote:
>>
>>
>> We will be following this approach and above PRs can be ignored. The
>> change will only happen in docker-common repo.
>>
> +1 for this change. This is the cleanest way of doing it AFAIU. Adding a
> module dependency to another module can be done, but is not the best way.
>

​+1 Thanks​ for the clarification Pubudu & Isuru!!


>> [1] https://github.com/wso2/docker-common/blob/820c70c4220067493
>> 14343d3b9e55bdd9a5e0a38/provision/puppet/image-config.sh#L61
>>
>>
>>
>> On Thu, Mar 2, 2017 at 3:52 PM, Anuruddha Liyanarachchi <
>> anurudd...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> $subject was noticed when trying to create APIM docker image from
>>> puppet-modules [1].
>>>
>>> This is happening because when using puppet apply, java module is not
>>> getting invoked because site.pp is not getting executed.
>>>
>>> As a fix, I have included java class in each product puppet module
>>> init.pp and removed it from site.pp in PRs [2] and [3]. The dependency is
>>> added to APIM init.pp from [4].
>>>
>>> Similarly, we will have to update ESB, IOT and IS puppet modules as
>>> well.
>>>
>>> Kindly suggest if there are any alternatives which we can use to
>>> overcome $subject.
>>>
>>> [1] https://github.com/wso2/puppet-apim/tree/v2.1.0
>>> [2] https://github.com/wso2/puppet-common/pull/8
>>> [3] https://github.com/wso2/puppet-base/pull/9
>>> [4] https://github.com/wso2/puppet-apim/pull/16/files
>>>
>>> --
>>> *Thanks and Regards,*
>>> Anuruddha Lanka Liyanarachchi
>>> Software Engineer - WSO2
>>> Mobile : +94 (0) 712762611
>>> Tel      : +94 112 145 345
>>> a <thili...@wso2.com>nurudd...@wso2.com
>>>
>>
>>
>>
>> --
>> *Thanks and Regards,*
>> Anuruddha Lanka Liyanarachchi
>> Software Engineer - WSO2
>> Mobile : +94 (0) 712762611
>> Tel      : +94 112 145 345
>> a <thili...@wso2.com>nurudd...@wso2.com
>>
>
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048 <+94%2071%20635%208048>* <http://wso2.com/>*
>
>
>


-- 
*Imesh Gunaratne*
Software Architect
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: https://medium.com/@imesh TW: @imesh
lean. enterprise. middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to