puppet agent cannot find ldap group
I am currently running PE 3.1 (Puppet 3.3.1) and my puppet agent can't see the existence of an LDAP group when run.
Resource:
file { '/tmp/file':
ensure => file,
group => 'examplegroup',
}
Output:
puppet-agent[25727]: (/File[/tmp/file]) Could not evaluate: Could not find group examplegroup
However that group does indeed exist:
$ getent group examplegroup
examplegroup:*:10008:
Even more peculiar, when I trigger a run manually ( by running puppet agent -t
) it has no problem modifying the file's group. I suspect do so some ENV variation between puppet running as an agent and puppet running manually triggered ...