ipa: Manages IPA masters, replicas and clients.
ipa::client: Manage ipa clientipa::client::debian: Ensure that home directories get created on Debian and Ubuntu clients.ipa::server: Manage IPA server installipa::server::flushcache: Manage cache flushingipa::server::master: Manage primary serveripa::server::redhatipa::server::replica: Manage replica install
TODO: Allow creation of root zone for isolated networks -- https://www.freeipa.org/page/Howto/DNS_in_isolated_networks TODO: Class comments. TODO: Dependencies and metadata updates. TODO: Variable scope and passing. TODO: configurable admin username.
The following parameters are available in the ipa class:
domainipa_roleadmin_passworddirectory_services_passwordallow_zone_overlapno_dnssec_validationconfigure_dns_serverconfigure_replica_caconfigure_ntpconfigure_sshconfigure_sshdcustom_dns_forwardersdomain_join_principaldomain_join_passwordenable_dns_updatesenable_hostnameenable_ip_addressfixed_primaryidstartidmaxip_addressipa_server_fqdnipa_master_fqdnmkhomedirno_ui_redirectrealmadjust_login_defs
Data type: Stdlib::Fqdn
(string) The name of the IPA domain to create or join.
Data type: Enum['client', 'master', 'replica']
(string) What role the node will be. Options are 'master', 'replica', and 'client'.
Data type: Optional[Variant[Sensitive[String[8]],String[8]]]
(string) Password which will be assigned to the IPA account named 'admin'.
Default value: undef
Data type: Optional[Variant[Sensitive[String[8]],String[8]]]
(string) Password which will be passed into the ipa setup's parameter named "--ds-password".
Default value: undef
Data type: Boolean
(boolean) if set to true, allow creating of (reverse) zone even if the zone is already resolvable. Using this option is discouraged as it result in later problems with domain name. You may have to use this, though, when migrating existing DNS domains to FreeIPA.
Default value: false
Data type: Boolean
(boolean) if set to true, DNSSEC validation is disabled.
Default value: false
Data type: Boolean
(boolean) If true, then the parameter '--setup-dns' is passed to the IPA server installer. Also, triggers the install of the required dns server packages.
Default value: true
Data type: Boolean
(boolean) If true, then the parameter '--setup-ca' is passed to the IPA replica installer.
Default value: false
Data type: Boolean
(boolean) If false, then the parameter '--no-ntp' is passed to the IPA client and server installers.
Default value: true
Data type: Boolean
(boolean) If false, then the parameter '--no-ssh' is passed to the IPA client and server installers.
Default value: true
Data type: Boolean
(boolean) If false, then the parameter '--no-sshd' is passed to the IPA client and server installers.
Default value: true
Data type: Array[String]
(array[string]) Each element in this array is prefixed with '--forwarder ' and passed to the IPA server installer.
Default value: []
Data type: Variant[Sensitive[String[1]],String[1]]
(string) The principal (usually username) used to join a client or replica to the IPA domain.
Default value: 'admin'
Data type: Optional[Variant[Sensitive[String[1]],String[1]]]
(string) The password for the domain_join_principal.
Default value: $directory_services_password
Data type: Boolean
(boolean) If true, then the parameter '--enable-dns-updates' is passed to the IPA installer.
Default value: false
Data type: Boolean
(boolean) If true, then the parameter '--hostname' is populated with the parameter 'ipa_server_fqdn' and passed to the IPA installer.
Default value: true
Data type: Boolean
(boolean) If true, then the parameter '--ip-address' is populated with the parameter 'ip_address' and passed to the IPA installer.
Default value: false
Data type: Boolean
(boolean) If true, then the parameter '--fixed-primary' is passed to the IPA installer.
Default value: false
Data type: Integer[10000]
(integer) From the IPA man pages: "The starting user and group id number".
Default value: (fqdn_rand('10737') + 10000
Data type: Optional[Variant[Integer,Undef]]
(integer) From the IPA man pages: "The max value for the IDs range (default: idstart+199999)".
Default value: undef
Data type: Optional[Stdlib::IP::Address]
(string) IP address to pass to the IPA installer.
Default value: undef
Data type: String
(string) Actual fqdn of the IPA server or client.
Default value: fact('networking.fqdn')
Data type: Optional[Stdlib::Fqdn]
(string) FQDN of the server to use for a client or replica domain join.
Default value: undef
Data type: Boolean
(boolean) If true, then the parameter '--mkhomedir' is passed to the IPA server and client installers.
Default value: true
Data type: Boolean
(boolean) If true, then the parameter '--no-ui-redirect' is passed to the IPA server installer.
Default value: false
Data type: Optional[Stdlib::Fqdn]
(string) The name of the IPA realm to create or join.
Default value: undef
Data type: Boolean
(boolean) Adjust UID_MAX and GID_MAX in login.defs. Without this newer server installers fail. Default false.
Default value: false