Thanks Isuru, I just fixed it:
https://github.com/wso2/puppet-modules/commit/c9e2cd529a338f86285eb2eb4184beb3a50cfe75

Thanks

On Fri, Feb 26, 2016 at 12:31 PM, Isuru Haththotuwa <isu...@wso2.com> wrote:

> Hi Imesh,
>
> Yes, seems we have mistakenly pointed user mgt datasource to wso2user_db
> [1] in default profile of APIM 1.9.1. This should be pointed to the default
> H2 DB [2].
>
> [1]. wso2::usermgt_datasource: wso2user_db
> [2]. wso2::usermgt_datasource: wso2_carbon_db
>
> On Fri, Feb 26, 2016 at 10:03 AM, Imesh Gunaratne <im...@wso2.com> wrote:
>
>> Hi Devs,
>>
>> I see the following error while trying to build $subject:
>>
>> Notice: Scope(Wso2base::Deploy[/mnt/wso2am-1.9.1]): Deploying artifacts
>> for WSO2 product [name] wso2am, [version] 1.9.1, [CARBON_HOME]
>> /mnt/wso2am-1.9.1
>> Error: Failed to parse template
>> wso2am/1.9.1/repository/conf/user-mgt.xml.erb:
>>   Filepath:
>> /etc/puppet/modules/wso2am/templates/1.9.1/repository/conf/user-mgt.xml.erb
>>   Line: 29
>>   Detail: undefined method `[]' for nil:NilClass
>>  at /etc/puppet/modules/wso2base/manifests/push_templates.pp:23 on node
>> bc28b6258a7b
>> Error: Failed to parse template
>> wso2am/1.9.1/repository/conf/user-mgt.xml.erb:
>>   Filepath:
>> /etc/puppet/modules/wso2am/templates/1.9.1/repository/conf/user-mgt.xml.erb
>>   Line: 29
>>   Detail: undefined method `[]' for nil:NilClass
>>  at /etc/puppet/modules/wso2base/manifests/push_templates.pp:23 on node
>> bc28b6258a7b
>>
>> Steps to re-produce:
>>
>> 1. Checkout puppet modules
>> 2. Checkout kubernetes artifacts
>> 3. Copy required distributions to puppet modules and set PUPPET_HOME
>> 4. Build base Docker image
>> 5. Build API-M Docker image default profile
>>
>> May be we are missing a default configuration.
>>
>> Thanks
>>
>> --
>> *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
>>
>>
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* <http://wso2.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
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to