Issue #21908 has been reported by Josh Partlow.

----------------------------------------
Bug #21908: An error is logged during an agent run if the puppetmaster does not 
have at least one <module>/lib dir in its modules directory.
https://projects.puppetlabs.com/issues/21908

* Author: Josh Partlow
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 3.2.3
* Keywords: pluginsync
* Branch: 
----------------------------------------
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


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to