Ask Your Question
0

puppet agent cannot find ldap group

asked 2013-12-05 16:37:36 -0500

chrisrut gravatar image

updated 2013-12-13 10:05:35 -0500

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 ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-12-16 13:25:17 -0500

In the short term, you can workaround the issue by restarting the puppet daemon.

The following issue has been submitted to figure out why a restart is required.

https://tickets.puppetlabs.com/browse/ENTERPRISE-7

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-12-05 16:37:36 -0500

Seen: 370 times

Last updated: Dec 16 '13