Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treat values as simple/array based on local lens
This code previously used an explicitly defined list of labels that were treated as arrays and not simple values. This broke the sshd_config provider for users with a version of the sshd lens from augeas 1.9.0 or newer. To avoid breaking support for older users, and to be forward-compatible with new versions of augeas that are aware of additional array values, this change determines if a label is an array or simple value by testing what the underlying augeas provider returns
- Loading branch information