Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Puppet Agent requires restart before picking up LDAP changes

$
0
0
This has been a reoccurring issue with the Puppet Agent. - https://ask.puppet.com/question/4387/puppet-agent-cannot-find-ldap-group/ --> https://tickets.puppetlabs.com/browse/ENTERPRISE-7 - https://tickets.puppetlabs.com/browse/PUP-3204 Everything works fine in Ubuntu 14.04. We are launching a new Ubuntu 16.04 instance and installing the most recent Xenial-Puppet agent ( http://apt.puppetlabs.com/puppetlabs-release-pc1-xenial.deb). $ puppet --version 4.4.2 Our freeipa module runs and mirrors our config on Ubuntu 16.4. During a Puppet run, I even have it run an exec AFTER freeipa is finished being configured that successfully returns "getent passwd test_user" and it will return the correct user. Run Down ---> file { '/etc/test_dirt': ensure => 'directory', owner => 'test_user', group => 'test_user, mode => '0750', } Error: Could not set 'present' on ensure: Could not find user test_user $ getent passwd test_user test_user:*:709600016:709600016:Testy Testles:/nethome/test_user:/bin/bash Then, of course, on the next manual run -- everything is hunkadory and it can set the user/group correctly. Which means it's requiring two runs -- which is a pretty big problem for our auto-scale in. Anyone else have this struggle + a workaround?

Viewing all articles
Browse latest Browse all 6104

Latest Images

Trending Articles

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>