Skip to content
This repository was archived by the owner on Jun 5, 2020. It is now read-only.
This repository was archived by the owner on Jun 5, 2020. It is now read-only.

autorequire 'require' gem #125

Open
Open
@danieldreier

Description

@danieldreier

When I run puppet agent using this module on a new Debian Wheezy PE system, I get:

Error: Could not autoload puppet/provider/ec2_instance/v2: cannot load such file -- retries
Error: Could not autoload puppet/type/ec2_instance: Could not autoload puppet/provider/ec2_instance/v2: cannot load such file -- retries
Error: Could not retrieve catalog from remote server: Could not intern from text/pson: Could not autoload puppet/type/ec2_instance: Could not autoload puppet/provider/ec2_instanc
e/v2: cannot load such file -- retries
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

When I install the 'require' gem these errors are resolved. This happens even though I have the following in my manifests:

  package { 'retries':
    ensure   => present,
    provider => 'pe_gem',
  }

I believe that the problem is that there isn't an autorequire creating a dependency, so the ec2_instance resource applies before the gem can be installed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions