I need feed back from the group regarding how we should present the output for
Clarity, the 389 Directory Server Auto Membership Plugin...
Currently, the output looks like this:
---=== EXAMPLE ===---
[root@auth2 ~]# ipa clarityrule-show testrule --all
dn: cn=testrule,cn=automember,cn=etc,dc=expertcity,dc=com
Clarity Rule: testrule
Membership filter: objectclass=ipaHost
Default Group: cn=orphans,cn=hostgroups,cn=accounts,dc=expertcity,dc=com
Inclusive Regex:
cn=webservers,cn=hostgroups,cn=accounts,dc=example,dc=com::fqdn=^web[1-9]+.example.com,
cn=mailservers,cn=hostgroups,cn=accounts,dc=example,dc=com::fqdn=^mail[1-9]+.example.com,
cn=webservers,cn=hostgroups,cn=accounts,dc=example,dc=com::fqdn=^www[1-9]+.example.com
Exclusive Regex:
cn=webservers,cn=hostgroups,cn=accounts,dc=example,dc=com:blacklist
www5:fqdn=^www5\.example\.com
automembergroupingattr: member:dn
automemberscope: dc=expertcity,dc=com
objectclass: top, automemberdefinition
---=== EXAMPLE ===---
Each rule in the definition object is broken down into 3 distinct parts: Group
to modify, Description, Attribute + Regular Expression to match.
As time progresses it will be likely that these rules could get long and
visually unappealing. I would like to know how we might better represent this
info.
Perhaps a breakout with indentation for each unique group defined in each rule?
---===SUGGESTION===---
[root@auth2 ~]# ipa clarityrule-show testrule --all
dn: cn=testrule,cn=automember,cn=etc,dc=expertcity,dc=com
Clarity Rule: testrule
Membership filter: objectclass=ipaHost
Default Group: cn=orphans,cn=hostgroups,cn=accounts,dc=expertcity,dc=com
Inclusive Regex:
cn=webservers,cn=hostgroups,cn=accounts,dc=example,dc=com
FrontEnd: fqdn=^web[1-9]+.example.com,
MainSite: fqdn=^www[1-9]+.example.com
cn=mailservers,cn=hostgroups,cn=accounts,dc=example,dc=com
SMTP: fqdn=^mail[1-9]+.example.com,
Exclusive Regex:
cn=webservers,cn=hostgroups,cn=accounts,dc=example,dc=com
blacklist: www5:fqdn=^www5\.example\.com
automembergroupingattr: member:dn
automemberscope: dc=expertcity,dc=com
objectclass: top, automemberdefinition
---===SUGGESTION===---