Hi,
While testing some configuration updates in puppet, we've discovered that the
nsswitch.conf lens is missing a few databases that are available on Linux to
redirect the compat/nis queries to different sources for netgroups, etc. They
were probably missed as they aren't explicitly listed in the man page, but
mentioned under "Interaction with +/- syntax (compat mode)". The fix is pretty
trivial - see below. Hoping this can get into the next release as we need this
functionality in our environment shortly.
Thanks,
Travis
-----
diff --git a/lenses/nsswitch.aug b/lenses/nsswitch.aug
index c675f29..ec8e830 100644
--- a/lenses/nsswitch.aug
+++ b/lenses/nsswitch.aug
@@ -77,6 +77,9 @@ let database =
| "services"
| "shadow"
| "sudoers"
+ | "passwd_compat"
+ | "group_compat"
+ | "shadow_compat"
in [ label "database" . store database_kw
. sep_colon
. (Build.opt_list
_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel