reclass and jinja template

Stephan de Bot stephan at b-it.org
Tue Aug 4 21:00:36 CEST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Martin,

Oke thanks for you answer, I will have to find a other way.


Met vriendelijke groet, Kind regards,


STEPHAN DE BOT
www.b-it.org | stephan at b-it.org
Stevensweerterweg 69, Maasbracht, NL, 6051GR



- -----Original Message-----
From: martin f krafft [mailto:madduck at madduck.net] 
Sent: Tuesday, August 4, 2015 8:54 PM
To: Stephan de Bot <stephan at b-it.org>
Cc: reclass at lists.pantsfullofunix.net
Subject: Re: reclass and jinja template

*** gpg4o | No encryption or signature data available. ***

also sprach Stephan de Bot <stephan at b-it.org> [2015-08-04 17:44 +0200]:
> classes:
>   - common
> parameters:
>   resolver:
>     searchpaths: ['b-it.internal']
>     nameservers: ['192.168.1.1']
>     options: ['single-request-reopen']
> classes:
>   - resolver

Uh, this is going to produce undefined behaviour as YAML cannot
handle this.

> local:
>     ----------
>     __reclass__:
>         ----------
>         applications:
>             - resolver
>         classes:
>             - resolver

… and indeed, your common class is being ignored and not even read,
hence:

>         nameservers:
>             - 192.168.1.1

you only get one entry.

I understand your task, but as I said before, I don't know how to
solve it with YAML in a way that doesn't stink or break other
appraoches. :/

- -- 
@martinkrafft | http://madduck.net/ | http://two.sentenc.es/
 
"it is the mark of an educated mind
 to be able to entertain a thought
 without accepting it."
                                                        -- aristoteles
 
spamtraps: madduck.bogus at madduck.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using gpg4o v3.4.103.5490 - http://www.gpg4o.com/
Charset: utf-8

iQEcBAEBAgAGBQJVwO/XAAoJEP7DbEO17lyB9ZIIAKgJuY7JHHJZx1zf4wgpyrOf
DBGGENYtwZC0ANj9ae/8S6NmmIfY3QzCAqzNwr3A7lrEYk1UCCBYbweHb9QWamyi
pcy9Rl6JZtxCZ5nQmGIKDMVP/rsRy76l1oEomc3ZfbJYigVm3lbw0fz30QgE72mf
k0wZbS5jj5ZyLHhGV+otO/+D8gg3eGsxMyz19dsx+VBRzXJXdbgIVWVEDB2ybo6u
mcbHDqc5XjlsgZkf5ow1KrpaIJ81CwbOfwCgH6GiDjwWhIXTRzX3mA0k25hVRjhg
m+vvTJissgxTwyV6vWYOtFzei+qIB43iiSJJv32saZudAQ3Oi7CpBZv0tkTl1ko=
=NJ4n
-----END PGP SIGNATURE-----



More information about the reclass mailing list