Read more

How to deal with: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type [...] at

Kim Klotz
July 03, 2012Software engineer at makandra GmbH
  1. Check if you have puppetsync enabled on the master and client

    [main]
    logdir=/var/log/puppet
    vardir=/var/lib/puppet
    ssldir=/var/lib/puppet/ssl
    rundir=/var/run/puppet
    factpath=$vardir/lib/facter
    templatedir=$confdir/templates
    pluginsync = true
    
  2. Check in /var/lib/puppet/lib there should be a [...].rb somewhere. Delete it and look if it get copied again after with the next puppet run.

  3. If you are using environments make sure the puppetmaster is also in the correct environment. (default is production)

Illustration money motivation

Opscomplete powered by makandra brand

Save money by migrating from AWS to our fully managed hosting in Germany.

  • Trusted by over 100 customers
  • Ready to use with Ruby, Node.js, PHP
  • Proactive management by operations experts
Read more Show archive.org snapshot
Posted by Kim Klotz to makandra dev (2012-07-03 10:12)