Skip to content

Commit

Permalink
ncm-freeipa: install released version with AII CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
stdweird authored and jrha committed Jun 26, 2023
1 parent 2329abb commit 3e01d41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ncm-freeipa/src/main/pan/components/freeipa/config.pan
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ variable FREEIPA_CLI_REQUIRES_PAM_KRB5 ?= true;

'cli_packages' ?= {
t = list(
'ncm-freeipa',
'ncm-freeipa-${no-snapshot-version}-${rpm.release}',
'nss-pam-ldapd',
'ipa-client',
'nss-tools',
Expand Down
2 changes: 1 addition & 1 deletion ncm-freeipa/src/test/perl/aii-basic.t
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ ok(POST_history_ok([
]), "host_add / host_mod called");


like($fh, qr(^yum -y install ncm-freeipa nss-pam-ldapd ipa-client nss-tools openssl pam_krb5 -c /tmp/aii/yum/yum.conf$)m,
like($fh, qr(^yum -y install ncm-freeipa-\d+\.\d+\.\d+-\w+ nss-pam-ldapd ipa-client nss-tools openssl pam_krb5 -c /tmp/aii/yum/yum.conf$)m,
"install freeipa component and CLI dependencies in post_reboot");
like($fh, qr(^PERL5LIB=/usr/lib/perl perl -MNCM::Component::FreeIPA::CLI -w -e install -- --realm MY.REALM --primary myhost.example.com --domain com --fqdn myhost.example.com --hostcert 1 --otp 'superse\\\$cret\\\$OTP'$)m,
"CLI called as expected");
Expand Down

0 comments on commit 3e01d41

Please sign in to comment.