Skip to content

Obviate.io

To anticipate and prevent

  • Home
  • About Us
  • History
  • Privacy Policy
  • Toggle search form

Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type

Posted on 2011-12-01 By Jon No Comments on Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type

At the office I’ve been working to move our operations infrastructure into Puppet. Since I’m fairly new to puppetizing, I’ve been spending a lot of time with puppet. During one of my recent trial runs, I got the following (cryptic) error message:

Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type

What. The. Hell?

This strange error message has been reported as

Bug #5368 and the comments help a little bit. I’ll explain in short: You’re trying to call a class that does not exist. Either this means you misspelled the class name where you called it, misspelled the name where you defined it… or in my case… I forgot to include the file where I defined the class.

It’s simple to fix, but really obnoxious when the error messages don’t mean jack squat to you. Hopefully, they’ll fix the bug soon and I can deprecate this blog entry.

Puppet Tags:class, crazy error messages, parser, puppet

Post navigation

Previous Post: Do not install Windows 7 via USB 3
Next Post: IT is not Customer Service

More Related Articles

Amazon ElastiCache – Underwhelmed? Cloud
Initial publishing of Puppet scripts Puppet
A “taste of Chef” at the AWS Popup Loft SF Events

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

December 2011
S M T W T F S
 123
45678910
11121314151617
18192021222324
25262728293031
« Nov   Jan »

Copyright © 2022 Obviate.io

Powered by PressBook Premium theme