Uploaded image for project: 'Puppet Enterprise'
  1. Puppet Enterprise
  2. ENTERPRISE-7

File Resource Cannot Find LDAP Group Until Puppet Agent Daemon is Restarted

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: PE 3.1.0, PE 3.2.3
    • Fix Version/s: None
    • Component/s: None
    • Template:

      Description

      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.

      Eventually, I found out that if I restart the puppet daemon on my node that it was able to find the group.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  chrisrut Christopher Rutter
                • Votes:
                  2 Vote for this issue
                  Watchers:
                  13 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: