Skip to content

Commit 9fc1b04

Browse files
Merge pull request #1375 from t-woerner/ipaclient_client_dns_new_arg_statestore
ipaclient: client_dns has new statestore arg with IPA change e6445b8
2 parents 513d5ee + bdf1efd commit 9fc1b04

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

roles/ipaclient/library/ipaclient_setup_nss.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,11 @@ def main():
388388
tasks.insert_ca_certs_into_systemwide_ca_store(ca_certs)
389389

390390
if not options.on_master:
391-
client_dns(cli_server[0], hostname, options)
391+
argspec_client_dns = getargspec(client_dns)
392+
if "statestore" in argspec_client_dns.args:
393+
client_dns(cli_server[0], hostname, options, statestore)
394+
else:
395+
client_dns(cli_server[0], hostname, options)
392396

393397
if hasattr(paths, "SSH_CONFIG_DIR"):
394398
ssh_config_dir = paths.SSH_CONFIG_DIR

0 commit comments

Comments
 (0)