Skip to content

Instantly share code, notes, and snippets.

@lindenle
Last active December 13, 2015 18:28
Show Gist options
  • Save lindenle/4954993 to your computer and use it in GitHub Desktop.
Save lindenle/4954993 to your computer and use it in GitHub Desktop.
Error:
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class stdlib at /puppet/nodes/qa/manifests/base.d/base.pp:25 on node node
Environment setup:
client - puppet.conf
environment = qa_5_2_0
master - puppet.conf
modulepath = /var/lib/puppet-environments/$environment/modules
File structure:
/var/lib/puppet-environments/qa_5_2_0/modules/stdlib/
├── CHANGELOG
├── lib
│   ├── facter
│   └── puppet
├── LICENSE
├── manifests
│   ├── init.pp
│   └── stages.pp
├── Modulefile
├── Rakefile
├── README_DEVELOPER.markdown
├── README.markdown
├── RELEASE_PROCESS.markdown
├── spec
│   ├── lib
│   ├── monkey_patches
│   ├── spec_helper.rb
│   ├── spec.opts
│   ├── unit
│   └── watchr.rb
└── tests
├── file_line.pp
└── init.pp
Master logs:
10.174.99.47 - - [14/Feb/2013:18:37:31 +0000] "POST /qa_5_2_0/catalog/node HTTP/1.1" 400 184 "-" "-"
Feb 14 18:39:01 puppet puppet-master[10397]: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class stdlib at /puppet/nodes/qa/manifests/base.d/base.pp:25 on node node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment