Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-2608

An error is logged during an agent run if the puppetmaster does not have at least one <module>/lib dir in its modules directory.

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      To reproduce:

      (Make sure you have a '127.0.0.1 localhost puppetmaster' entry in /etc/hosts for the below)

      In one terminal setup the master:

      jpartlow@percival:~/work/puppet$ rm -rf ~/test/master/bug-test
      jpartlow@percival:~/work/puppet$ mkdir -p ~/test/master/bug-test
      jpartlow@percival:/work/puppet$ bundle exec puppet master --no-daemonize --trace --autosign=true --debug --confdir=/test/master/bug-test --vardir=~/test/master/bug-test --certname puppetmaster

      In another terminal, run the agent:

      jpartlow@percival:~/work/puppet$ be puppet agent -t --server puppetmaster
      Info: Creating a new SSL key for percival.corp.puppetlabs.net
      Info: Caching certificate for ca
      Info: Creating a new SSL certificate request for percival.corp.puppetlabs.net
      Info: Certificate Request fingerprint (SHA256): 20:18:5A:F0:3B:A0:BE:76:6B:03:71:ED:BD:EF:47:04:F1:49:3F:BD:63:AC:42:3D:7E:0F:66:3F:08:F9:70:C9
      Info: Caching certificate for percival.corp.puppetlabs.net
      Info: Caching certificate_revocation_list for ca
      Info: Retrieving plugin
      Error: /File[/home/jpartlow/.puppet/var/lib]: Could not evaluate: Could not retrieve information from environment production source(s) puppet://puppetmaster/plugins
      Info: Caching catalog for percival.corp.puppetlabs.net
      Info: Applying configuration version '1374537817'
      Info: Creating state file /home/jpartlow/.puppet/var/state/state.yaml

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  redmine.exporter redmine.exporter
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  13 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Zendesk Support