You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by chris snow <ch...@gmail.com> on 2014/04/25 20:05:50 UTC

wiki - creating a cartridge step requires setting the puppet timezone

It may be worth adding a note to the wiki [1,2] to set the puppet
timezone to match the puppet master before running "config.sh".

I'm doing this in a script before running config.sh:

sed -i 's:^TIMEZONE=.*$:TIMEZONE=\"Etc/UTC\":g'
/root/bin/puppetinstall/puppetinstall

Failing to run to set the timezone resulted in an error when creating
the cartridge on OpenStack.  I expect the config.sh would fail on EC2
as well.

Are there any objections to me adding this note?

---
[1] https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Creating+a+Cartridge+on+OpenStack
[2] https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Creating+a+Cartridge+on+EC2

Re: wiki - creating a cartridge step requires setting the puppet timezone

Posted by Nirmal Fernando <ni...@gmail.com>.
+1 Chris.

On Fri, Apr 25, 2014 at 11:35 PM, chris snow <ch...@gmail.com> wrote:
> It may be worth adding a note to the wiki [1,2] to set the puppet
> timezone to match the puppet master before running "config.sh".
>
> I'm doing this in a script before running config.sh:
>
> sed -i 's:^TIMEZONE=.*$:TIMEZONE=\"Etc/UTC\":g'
> /root/bin/puppetinstall/puppetinstall
>
> Failing to run to set the timezone resulted in an error when creating
> the cartridge on OpenStack.  I expect the config.sh would fail on EC2
> as well.
>
> Are there any objections to me adding this note?
>
> ---
> [1] https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Creating+a+Cartridge+on+OpenStack
> [2] https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Creating+a+Cartridge+on+EC2



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/