#4862 [RFE] autoservice rules - Create services for new hosts based on a set of rules
Closed: Duplicate None Opened 9 years ago by rcritten.

Ability to create rules to automatically create services on the host that match the rule, like automember rules for host groups. Example use cases:

  • When you create a bunch of 'clone' servers that use kerberos for authentication like kerberized webservers, you don't have to add each to 'webserversX' group because you can have an automember rule that automaticaly add them to the good hostgroup, but you must manually add 'http' service on each. This "autoservice rules" will be nice to make some HBAC rules work out of the box. For example the HBAC rule that said "Some user(s)/usergroup(s) are allowed to connect to 'webserversX' hostgroup members on 'http' service"
  • Puppet/Foreman integration: Use the FreeIPA pki with autosign functionality for puppet agents. When you create a host via foreman proxy, it will create the host in FreeIPA but if you want to use the FreeIPA PKI for puppet, you must manually add puppet service on your host, and then get the certificate.

Stretch goal for 4.2. If DS ACI enhancement is finished (https://fedorahosted.org/389/ticket/47904), it may make this request lot easier.

This is also related to https://fedorahosted.org/freeipa/ticket/4567

Constraints on what services a host can add will be required (so it can only add services for itself).

Metadata Update from @rcritten:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.2 Backlog

7 years ago

Login to comment on this ticket.

Metadata