- From:
(Mathieu Sauve-Frankel)
- To:
- Subject: [[chef-dev]] OHAI-115 connundrum
- Date: Fri, 4 Sep 2009 12:26:56 +0900
I'm trying to find a sensible way to close OHAI-115.
'CLI should filter on deeper levels of attributes'
The issue I am having is defining an acceptable filed separator
for specifying the path to the attribute we want to dump.
The ticket suggests . as a field separator. This FS may appear in the data,
making it difficult to parse the path to the desired part of the ohai data.
For example:
$ ohai network.interfaces.em0.addresses.10.25.10.1
I've enumrated the separators that have issues below, although this may
not be a complete list
/ - filesystem paths or device nodes
. - ipv4 addresses
: - mac addresses
:: - ipv6 addresses
My current patch uses // as the FS. You can see the patch here
http://gist.github.com/180666
I would appreciate any comments or suggestions
Thanks,
--
Mathieu Sauve-Frankel
- [[chef-dev]] OHAI-115 connundrum, Mathieu Sauve-Frankel, 09/03/2009
Archive powered by MHonArc 2.6.16.