Issue #4409 has been updated by John Warburton.

Nigel

I found this out when running behind passenger. My stack is:

* puppet (2.6.3)
* ruby (1.8.7-p249)
* apache (2.2.15)
* fastthread (1.0.7)
* passenger (2.2.14)
* rack (1.1.0)
* rake (0.8.7)

I get the same errors. NB I have removed the local cache:

    r...@263client# /opt/local/sbin/run-puppet.sh --color true
    + /opt/local/sbin/puppetd --server puppet.bfm.com --verbose --onetime 
--no-daemonize --no-usecacheonfailure --config /var/puppet/etc/puppetd.conf 
--environment prod --color true
    info: Retrieving plugin
    notice: /File[/var/puppet/var/lib/facter]/ensure: created
    notice: /File[/var/puppet/var/lib/facter/cyberark_init.rb]/ensure: defined 
content as '{md5}fef248a67ea8794c0dfc022906af94cb'
    notice: /File[/var/puppet/var/lib/facter/pkgs_facts.rb]/ensure: defined 
content as '{md5}272135f0a27322df0721fb1519d5a59e'
    notice: /File[/var/puppet/var/lib/facter/serialnumber.rb]/ensure: defined 
content as '{md5}e1fdafc8a460867f7f6d665ad9280202'
    notice: /File[/var/puppet/var/lib/facter/solaris_memory.rb]/ensure: defined 
content as '{md5}07485f55c10e14710e50465859971ec9'
    notice: /File[/var/puppet/var/lib/facter/svcs_facts.rb]/ensure: defined 
content as '{md5}6325f65a1948372902e3a7c818697de2'
    notice: /File[/var/puppet/var/lib/puppet]/ensure: created
    notice: /File[/var/puppet/var/lib/puppet/parser]/ensure: created
    notice: /File[/var/puppet/var/lib/puppet/parser/functions]/ensure: created
    notice: /File[/var/puppet/var/lib/puppet/provider]/ensure: created
    notice: /File[/var/puppet/var/lib/puppet/type]/ensure: created
    notice: /File[/var/puppet/var/lib/puppet/type/logadm.rb]/ensure: defined 
content as '{md5}21e554a8a34dcdea2f2671380d30df24'
    info: Loading downloaded plugin /var/puppet/var/lib/puppet/type/logadm.rb
    info: Loading downloaded plugin /var/puppet/var/lib/facter/solaris_memory.rb
    info: Loading downloaded plugin /var/puppet/var/lib/facter/pkgs_facts.rb
    info: Loading downloaded plugin /var/puppet/var/lib/facter/svcs_facts.rb
    info: Loading downloaded plugin /var/puppet/var/lib/facter/serialnumber.rb
    info: Loading downloaded plugin /var/puppet/var/lib/facter/cyberark_init.rb
    info: Loading facts in pkgs_facts
    info: Loading facts in cyberark_init
    info: Loading facts in solaris_memory
    info: Loading facts in serialnumber
    info: Loading facts in svcs_facts
    info: Loading facts in pkgs_facts
    info: Loading facts in cyberark_init
    info: Loading facts in solaris_memory
    info: Loading facts in serialnumber
    info: Loading facts in svcs_facts
    err: Could not retrieve catalog from remote server: Error 400 on SERVER: 
Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource 
type logadm at 
/local/file-repo/prod/modules/apache_infra_server/manifests/init.pp:120 on node 
corwadm010.bfm.com
    warning: Not using cache on failed catalog
    err: Could not retrieve catalog; skipping run
    

This is weird - I forgot to mention this works absolutely fine in 0.25.5 with 
the same stack & same method of generating the config files, which is how I 
found the issue

    r...@0255client# /opt/local/sbin/run-puppet.sh --tags puppet_client
    + /opt/local/sbin/puppetd --server puppet-lab.bfm.com --verbose --onetime 
--no-daemonize --ignorecache --no-usecacheonfailure --config 
/var/puppet/confdir/puppetd.conf --environment lab --tags puppet_client
    info: Retrieving plugin
    notice: /File[/var/puppet/confdir/var/lib/puppet/type/logadm.rb]/ensure: 
content changed '{md5}21e554a8a34dcdea2f2671380d30df24' to 
'{md5}21e554a8a34dcdea2f2671380d30df24'
    info: Loading downloaded plugin 
/var/puppet/confdir/var/lib/puppet/type/logadm.rb
    info: Loading facts in pkgs_facts
    info: Loading facts in serialnumber
    info: Loading facts in cyberark_init
    info: Loading facts in solaris_memory
    info: Loading facts in svcs_facts
    info: Loading facts in pkgs_facts
    info: Loading facts in serialnumber
    info: Loading facts in cyberark_init
    info: Loading facts in solaris_memory
    info: Loading facts in svcs_facts
    info: Caching catalog for engncfm001.bfm.com
    info: Applying configuration version '1290119477'
    notice: 
//puppet_client/Logadm[/var/log/puppet_client/puppet_client.log]/ensure: created
    notice: Finished catalog run in 11.60 seconds
    
Could the logadm code be tickling a 2.6 edge case here? [[Logadm_Patterns]] 

----------------------------------------
Bug #4409: puppetmasterd does not find custom types for environment
https://projects.puppetlabs.com/issues/4409

Author: Rudy Gevaert
Status: Investigating
Priority: High
Assignee: Nigel Kersten
Category: plumbing
Target version: 2.6.x
Affected Puppet version: 2.6.0
Keywords: 
Branch: http://github.com/MarkusQ/puppet/tree/ticket/2.6.x/4409


Hello,

I can't get plugins in modules to work.  I tried IRC and puppet-users  
(http://groups.google.com/group/puppet-users/browse_frm/thread/1fa5616448b1ffad)
 , all led to no help/solution :(.  This is blocking me to deploy puppet in our 
infrastructure.

err: Could not retrieve catalog from remote server: Error 400 on SERVER: 
Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource 
type vcsrepo at /etc/puppet/development/manifests/nodes.pp:37 on node 
puptest.ugent.be

I have attached several attachments that show my config.

thank you in advance


-- 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to