On Thursday 13 of August 2009 15:31:27 Klaus Kaempf wrote:
> * Jiří Suchomel <[email protected]> [Aug 13. 2009 14:50]:

> > So far, I'm using yml file (after Klaus' recommendation) as it is easy to
> > parse and human readable. See attached examples: one is for list of maps
> > (slightly better readable I assume), the second for map of maps (faster
> > access). The file is currently expected under /etc/YaST2 directory.
> >
> > Technically, config file is parsed from YaPI which is called from
> > rest-service, so it is not bound to webYaST usage and theoretically could
> > be used together with YaPI from perl scripts.
>
> Ruby provides nice support for yaml files, so there's no need to
> involve YaPI here.

The reason to involve YaPI is different: SCR layer runs as root after user 
passes the permissions checks, so it has rights to access the scripts.

Jiri



-- 
Jiri Suchomel

SUSE LINUX, s.r.o.                            e-mail: [email protected]
Lihovarská 1060/12                            tel: +420 284 028 960
190 00 Praha 9, Czech Republic                http://www.suse.cz
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to