Skip to content

Commit

Permalink
Merge pull request #40 from robruma/master
Browse files Browse the repository at this point in the history
Changing krbPrincipalName to krbLastPwdChange in exec unless. Potential fix for #36
  • Loading branch information
robruma committed Mar 29, 2014
2 parents 7425b89 + 2e02ffb commit e521927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/clientinstall.pp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

exec { "client-install-${host}":
command => "/bin/echo | ${clientinstallcmd}",
unless => shellquote('/bin/bash','-c',"LDAPTLS_REQCERT=never /usr/bin/ldapsearch -LLL -x -H ldaps://${masterfqdn} -D uid=admin,cn=users,cn=accounts,${dc} -b ${dc} -w ${adminpw} fqdn=${host} | /bin/grep ^krbPrincipalName"),
unless => shellquote('/bin/bash','-c',"LDAPTLS_REQCERT=never /usr/bin/ldapsearch -LLL -x -H ldaps://${masterfqdn} -D uid=admin,cn=users,cn=accounts,${dc} -b ${dc} -w ${adminpw} fqdn=${host} | /bin/grep ^krbLastPwdChange"),
timeout => '0',
tries => '60',
try_sleep => '90',
Expand Down

0 comments on commit e521927

Please sign in to comment.