-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ipa-client-install never runs #36
Comments
Can you attach the output of a manual Puppet run on the client with a --debug. I know this may be a lot of information so I think I would just need the last 10 lines or so. Thanks |
Thanks for the reply. Hopefully the lines below help. For this test, I'm trying to install the client on a server named apache.example.com. The master is ipa.example.com. The only thing that looked a little odd to me was that the fqdn in the search was that of the master. Should it be the name of the client machine? Notice: Running IPA client install, please wait. |
By the looks of these messages, it seems like you have an error on your sssd.conf. I'm not sure if this is a problem with the module though. Can you check the logs in /var/log/sssd to find what the problem is or manually inspect your sssd.conf file? |
Rob, The sssd.conf is generated by running ipa-client-install. As this command never runs, I don't have an sssd.conf file. It seems to me that the unless command part of the following exec is wrong in some way. When I run it the value of ${host} is the same as ${masterfqdn} which doesn't seem correct. Shouldn't ${host} have the value of the client machine's fqdn? exec { "client-install-${host}": |
I can confirm that ipa-client-install generates sssd.conf when not run with this module, but manually. I have encountered this issue as well. |
You may want to try running against the current git master branch... There have been a lot of changes since the last 1.5.5 release. Thanks |
Yes, as of 7425b8960a |
This is a plausibe bug. and the install never re-runs. krbLastPwdChange is removed from ldap when its unenrolled though .. |
Good find! I'll put together a patch |
Changing krbPrincipalName to krbLastPwdChange in exec unless. Potential fix for #36
Hi. another problem - you need ldaptools installed to do the search. If you read ipa-client-install, the installer thinks its installed if there are files in /var/lib/ipa-client/sysrestore/sysrestore.index or if /etc/ipa/default.conf exists If you are looking to see whether the system is enrolled, you can simply do return code of 0 is good. |
Should be fixed in #57 |
I'm attempting to use puppet to install everything on clean CentOS 6.5 machines. Right now it's just a master with a couple of clients. The server install goes smoothly. When, I add the client to nodes, it installs the software and your module is adding the host to the ipa master. However, ipa-client-install never executes. I'm having trouble following the code. What's the purpose of the ldapsearch for the admin user?
I'm running version 1.5.5 of your module with puppet 3.4.3 and puppetdb 1.6.2.
The text was updated successfully, but these errors were encountered: