Hi Vijitha, Paul, Creative thought indeed. We should think about popularizing the use of the registry for other things like this too, :). A little bash/batch-script in combination with the check-in client should do the trick.
Thanks, Senaka. On Mon, Sep 9, 2013 at 5:50 PM, Vijitha Kumara <[email protected]> wrote: > Hi Paul, > > > On Mon, Sep 9, 2013 at 4:58 PM, Paul Fremantle <[email protected]> wrote: > >> The idea is that you might need to set a bunch of environment variables >> on a particular machine, especially if the machine is being booted in a >> cloud. >> >> So the idea would be to have a registry tree structure to store these in, >> and then a simply command line tool that sets the environment variables. >> >> so I could call >> >> regenv https://registrylocation.foo.bar -u regusername -p regpassword >> -hostname myhostname >> > > If I understood correctly, the values need to be in a registry hosted > under "myhostname" (can be property name/values under one location) and > upon issuing the command it would set the env. entries on "hostname"? So > this would require login in to the "hostname" and do some manipulations, in > that case the uname/pwd to be provided should be non admin user (or admin > if anyone wishes), so they will be user local (or global)? > > > > Regards, > Vijitha. > > > >> >> Paul >> >> -- >> Paul Fremantle >> CTO and Co-Founder, WSO2 >> OASIS WS-RX TC Co-chair, Apache Member >> >> UK: +44 207 096 0336 >> US: +1 646 595 7614 >> >> blog: http://pzf.fremantle.org >> twitter.com/pzfreo >> [email protected] >> >> wso2.com Lean Enterprise Middleware >> >> Disclaimer: This communication may contain privileged or other >> confidential information and is intended exclusively for the addressee/s. >> If you are not the intended recipient/s, or believe that you may have >> received this communication in error, please reply to the sender indicating >> that fact and delete the copy you received and in addition, you should not >> print, copy, retransmit, disseminate, or otherwise use the information >> contained in this communication. Internet communications cannot be >> guaranteed to be timely, secure, error or virus-free. The sender does not >> accept liability for any errors or omissions. >> >> _______________________________________________ >> Architecture mailing list >> [email protected] >> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >> >> > > > -- > Vijitha Kumara > Senior Software Engineer; WSO2, Inc.; http://wso2.com/ > email: [email protected] > > > Lean . Enterprise . Middleware > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- * <http://us13.wso2con.com/> * * * *Senaka Fernando* Senior Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
