Skip to content
This repository was archived by the owner on Sep 13, 2019. It is now read-only.
This repository was archived by the owner on Sep 13, 2019. It is now read-only.

Ohai plugin incompatible with aws-sdk-ruby > 2 #4

@ls-michielrensen

Description

@ls-michielrensen

Because no version is specified of the aws-sdk-ruby gem here: https://github.com/JonathanSerafini/chef-cfn/blob/master/recipes/ohai.rb#L3, the newer version 3 is going to be installed.
Therefore this fails:
https://github.com/JonathanSerafini/chef-cfn/blob/master/files/default/ohai_plugins/cfn.rb#L38
with [2017-12-01T10:36:11+00:00] ERROR: cfn: failed to fetch instance: uninitialized constant Aws::EC2
As far as I can tell there's 2 different ways of fixing this. I don't know which solution you prefer otherwise I would've created a PR ;-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions