Re: [Dnsmasq-discuss] yaml config file

2021-03-14 Thread Geert Stappers via Dnsmasq-discuss
On Wed, Mar 10, 2021 at 06:45:24PM +0100, Marcos Dione wrote:
> Le Wed, Mar 10, 2021 at 10:02:06AM +, Shantanu Gadgil via Dnsmasq-discuss 
> a écrit :
> > > To the previous suggestion of using YAML as the config file ...
> > Please nooo!!!
> > I use/like Dnsmasq a lot and using YAML will just kill me on the inside
> > SPACE based indentation is ***

Learn to love spaces. See the beauty
in https://github.com/isomer/erbium/blob/master/man/erbium.conf.5#L400


> > TOML is fine in my opinion, but that's all it is,
> > opinion of a _user_ nothing more!!! :) :)
> 
> Ok, if this has been discussed before and it was rejected (or just
> let die), then I'm not bringing it again.
> I probably will have to write my own yaml -> dnsmasq converter,
> as I'm using Ansible.

https://docs.ansible.com/ansible/latest/user_guide/playbooks_templating.html
in other words:  The "converter" already exists.


> In fact, that's where my idea came from.

Please keep sharing ideas.



Groeten
Geert Stappers
-- 
Silence is hard to parse

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] yaml config file

2021-03-10 Thread Marcos Dione
Le Wed, Mar 10, 2021 at 10:02:06AM +, Shantanu Gadgil via Dnsmasq-discuss a 
écrit :
> To the previous suggestion of using YAML as the config file ...
> >>> Please nooo!!! I use/like Dnsmasq a lot and using YAML will just kill me 
> >>> on the inside>>> SPACE based indentation is ***
> TOML is fine in my opinion, but that's all it is, opinion of a _user_ nothing 
> more!!! :) :)

Ok, if this has been discussed before and it was rejected (or just
let die), then I'm not bringing it again. I probably will have to write
my own yaml -> dnsmasq converter, as I'm using Ansible. In fact, that's
where my idea came from.

cheers,

-- Marcos.

-- 
(Not so) Random fortune:
The technology industry sees itself as in rebellion against corporate
America: not corrupt, not buttoned-up, not empty. In fact, a tech company
can be as corrupt, soulless, and empty as any corporation, but being
unprofessional helps us maintain the belief that we are somehow different
from Wall Street.
-- Shanley Kane

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss