File tree Expand file tree Collapse file tree 4 files changed +4
-9
lines changed
Expand file tree Collapse file tree 4 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 173173 Boolean $configure_sshd = true ,
174174 Array[String] $custom_dns_forwarders = [],
175175 String[1] $domain_join_principal = ' admin' ,
176- Optional[String[1]] $domain_join_password = undef ,
176+ Optional[String[1]] $domain_join_password = $directory_services_password ,
177177 Boolean $enable_dns_updates = false ,
178178 Boolean $enable_hostname = true ,
179179 Boolean $enable_ip_address = false ,
219219 " @${final_realm} "
220220 )
221221
222- $final_domain_join_password = $domain_join_password ? {
223- undef => $directory_services_password ,
224- default => $domain_join_password ,
225- }
226-
227222 if $ipa_role == ' client' {
228223 $final_configure_dns_server = false
229224 } else {
Original file line number Diff line number Diff line change 5959 --realm=${easy_ipa::final_realm} \
6060 --domain=${easy_ipa::domain} \
6161 --principal='${easy_ipa::domain_join_principal} ' \
62- --password='${easy_ipa::final_domain_join_password } ' \
62+ --password='${easy_ipa::domain_join_password } ' \
6363 ${client_install_cmd_opts_dns_updates} \
6464 ${client_install_cmd_opts_hostname} \
6565 ${client_install_cmd_opts_mkhomedir} \
Original file line number Diff line number Diff line change 55 $replica_install_cmd = " \
66/usr/sbin/ipa-replica-install \
77 --principal=${easy_ipa::domain_join_principal} \
8- --admin-password='${easy_ipa::final_domain_join_password } ' \
8+ --admin-password='${easy_ipa::domain_join_password } ' \
99 ${easy_ipa::install::server::server_install_cmd_opts_hostname} \
1010 --realm=${easy_ipa::final_realm} \
1111 --domain=${easy_ipa::domain} \
Original file line number Diff line number Diff line change 1414 }
1515
1616 if $easy_ipa::ipa_role != ' master' { # if replica or client
17- unless $easy_ipa::final_domain_join_password {
17+ unless $easy_ipa::domain_join_password {
1818 fail(" When creating a ${easy_ipa::ipa_role} the parameter named domain_join_password cannot be empty." )
1919 }
2020 unless $easy_ipa::ipa_master_fqdn {
You can’t perform that action at this time.
0 commit comments