File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 18
18
class ipa::server (
19
19
$hostname = $::hostname,
20
20
$domain = $::domain,
21
+ $ipa_ipaddress = ' ' ,
21
22
$realm = ' ' , # defaults to upcase($domain)
22
23
$vip = ' ' , # virtual ip of the replica master host
23
24
$peers = {}, # specify the peering topology by fqdns
499
500
},
500
501
}
501
502
503
+ $args12 = $ipa_ipaddress ? {
504
+ ' ' => ' ' ,
505
+ default => $dns ? {
506
+ true => " --ip-address=${ipa_ipaddress} --no-host-dns" ,
507
+ default => " --ip-address=${ipa_ipaddress} " ,
508
+ },
509
+ }
510
+
502
511
$arglist = [
503
512
" ${args01} " ,
504
513
" ${args02} " ,
511
520
" ${args09} " ,
512
521
" ${args10} " ,
513
522
" ${args11} " ,
523
+ " ${args12} " ,
514
524
]
515
525
# $args = inline_template('<%= arglist.delete_if {|x| x.empty? }.join(" ") %>')
516
526
$args = join(delete($arglist , ' ' ), ' ' )
You can’t perform that action at this time.
0 commit comments