Raphaël Pinson
Raphaël Pinson
@trevor-vaughan ah, you would just remap "/" as "|" in the labels?
As far as the Augeas lens is concerned, supporting `/` is not possible in labels, hence my suggestion to make a backward incompatible change.
It's not possible in tree, but it could be remapped in the provider as you suggested. However, I'm not a big fan of this. `|` currently means nothing in sysctl,...
@trevor-vaughan when it comes to the lens itself, it would be better to discuss this in https://github.com/hercules-team/augeas/issues/176
Hello, Could you please open this bug against https://github.com/hercules-team/augeasproviders_ssh/issues instead?
You should find other examples… See https://github.com/camptocamp/puppet-varnish or https://github.com/camptocamp/puppet-openldap
Ideally, I'd like camptocamp's puppet-augeas to become an approved module. However, I doubt this will happen as it's not PE compatible…
Can you get your file through [`augcheck`](https://github.com/raphink/augeas-sandbox/blob/master/augcheck) to see if Augeas is able to parse it, please?
I think we could have some kind of type/provider using the [augeasproviders accessors](https://github.com/hercules-team/augeasproviders/blob/master/docs/development.md#defining-property-accessors), coupled with `Augeas#store`/`Augeas#retrieve` to map file syntax to tree (like in your example of entries).
I don't think this is really dead code. It's code still being parsed and used, but not applying changes in production (hopefully). So I'm in favor of writing a new...