On Sun, Jan 10, 2016 at 10:53 AM, Imesh Gunaratne <[email protected]> wrote:
>
>
> - Installing WSO2 server as a system service
> - With Docker, server should be started on foreground
>
> For the time being I commented out service installation from server.pp and
got it working. We might need to find a way to configure this in runtime.
>
> - Creating a folder with the IP address under /mnt
> - IP address will only be available at the container startup
> - Therefore this can be only done on container startup using a bash
> script (init.sh). May be we can keep the configured server under /mnt
> and
> then move it to the above folder at the container startup.
>
> I found that this is handled by wso2::install_dir : "/mnt/%{::ipaddress}"
in wso2 common.yaml file. Therefore we can update this for docker to "/mnt".
I found another problem with using cron, cron is not available in Docker:
https://github.com/wso2/puppet-modules/blob/master/wso2base/manifests/system.pp#L27
Thanks
> Will us be able to handle these based on a parameter (may be a
> facter/vm_type)?
>
> Thanks
>
> --
> *Imesh Gunaratne*
> Senior Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.gunaratne.org
> Lean . Enterprise . Middleware
>
>
--
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.gunaratne.org
Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev