Re: FAI and yaml [Work in progress]

2010-07-22 Diskussionsfäden Ingo Wichmann
Hi Stephan, Am 20.07.2010 08:38, schrieb Stephan Hermann: > Oh wow...this is something really interesting. Thanks ;-) > Such a templating system would make sense for FAI...if we could now find > a templating system which is "language neutral"... I python fine for you: http://template-toolkit.or

Templates (was: FAI and yaml [Work in progress])

2010-07-21 Diskussionsfäden Thomas Neumann
hiya I was thinking a bit more about templates and now I'm convinced this is definitely the way to go. However I'd like to propose a change. Please give feedback. This is the format Thomas describes in his example: ###

Re: FAI and yaml [Work in progress]

2010-07-21 Diskussionsfäden Stephan Hermann
Hi, On Wed, 2010-07-21 at 12:39 +0200, Thomas Neumann wrote: > > Have a look at > > http://faiwiki.informatik.uni-koeln.de/index.php/FaiTemplates > > > This may help you. > > This should work with Debian / Ubuntu. My concern is SuSE. Especially > SLES10 - because of the filenames. > > SLES 10 (

Re: FAI and yaml [Work in progress]

2010-07-21 Diskussionsfäden Thomas Neumann
> Have a look at > http://faiwiki.informatik.uni-koeln.de/index.php/FaiTemplates > This may help you. This should work with Debian / Ubuntu. My concern is SuSE. Especially SLES10 - because of the filenames. SLES 10 (Probably the same for OpenSuSE 10) network config for eth0 -> /etc/sysconfig/net

Re: FAI and yaml [Work in progress]

2010-07-20 Diskussionsfäden Stephan Hermann
Hi Joel, On Tue, 2010-07-20 at 10:25 +0100, Joel Merrick wrote: > On Tue, Jul 20, 2010 at 10:03 AM, Stephan Hermann wrote: > > Moins, > ... > > > Ruby Templates, lots and lots of Perl templating engines, and as well > > pythonic templating engines. > > > > I wonder if there is at least one temp

Re: FAI and yaml [Work in progress]

2010-07-20 Diskussionsfäden Stephan Hermann
Moins, On Tue, 2010-07-20 at 10:41 +0200, Thomas Lange wrote: > > On Tue, 20 Jul 2010 08:38:52 +0200, Stephan Hermann > > said: > > > Such a templating system would make sense for FAI...if we could now find > > a templating system which is "language neutral"... > What do you mea

Re: FAI and yaml [Work in progress]

2010-07-20 Diskussionsfäden Thomas Lange
> On Tue, 20 Jul 2010 08:38:52 +0200, Stephan Hermann > said: > Such a templating system would make sense for FAI...if we could now find > a templating system which is "language neutral"... What do you mean by "language neutral"? Yaml is better than json, because json is only a s

Re: FAI and yaml [Work in progress]

2010-07-19 Diskussionsfäden Stephan Hermann
Moins, On Mon, 2010-07-19 at 23:32 +0200, Thomas Lange wrote: > > On Mon, 19 Jul 2010 19:19:21 +, Thomas Neumann > > said: > > Have a look at > http://faiwiki.informatik.uni-koeln.de/index.php/FaiTemplates > > This may help you. > > >> Wouldn't it be a better idea to use jso

Re: FAI and yaml [Work in progress]

2010-07-19 Diskussionsfäden Thomas Lange
> On Mon, 19 Jul 2010 19:19:21 +, Thomas Neumann > said: Have a look at http://faiwiki.informatik.uni-koeln.de/index.php/FaiTemplates This may help you. >> Wouldn't it be a better idea to use json arrays representation? No. I also prefer yaml over json. And have a look at : ht

Re: FAI and yaml [Work in progress]

2010-07-19 Diskussionsfäden Thomas Neumann
hiya Am 19.07.2010 19:01, schrieb Stephan Hermann: Wouldn't it be a better idea to use json arrays representation? 2 reasons i didn't chose something else: - I stumbled upon yaml first. (searchtopic: "anything but xml") - the perl library for yaml is very easy to use (if you are used to refer

Re: FAI and yaml [Work in progress]

2010-07-19 Diskussionsfäden Stephan Hermann
Hey Thomas :) On Mon, 2010-07-19 at 18:49 +, Thomas Neumann wrote: > hiya > > As mentioned at the linux workshop I'm in the process of combining fai > with yaml-configuration files. My reason is a very wide range of > supported configurations. Using classes is quite cumbersome. > > As an

FAI and yaml [Work in progress]

2010-07-19 Diskussionsfäden Thomas Neumann
hiya As mentioned at the linux workshop I'm in the process of combining fai with yaml-configuration files. My reason is a very wide range of supported configurations. Using classes is quite cumbersome. As an example I attached the config file for one of our servers, so you can get a general