Skip to content

Fog >= 1.11.0 breaks run with elasticsearch::ebs #93

@Pneumatus

Description

@Pneumatus

Since the release of Fog 1.11.0 (and 1.11.1) the elasticsearch::ebs recipe causes the chef run to fail due to the latest version of fog installing a conflicting version of the json gem.

The run fails on a brand new machine with the error:

[2013-05-07T08:54:08+00:00] FATAL: Gem::LoadError: ruby_block[Create EBS volume on /dev/xvdf (size: 10GB)](elasticsearch::ebs line 16) had an error: Gem::LoadError: Unable to activate fog-1.11.1, because json-1.5.4 conflicts with json (~> 1.7)

Forcing the version of the fog gem down to 1.10.1 with the following resolves the issue as a band-aid, but there's probably a better way to do it.

chef_gem 'fog' do
  version '1.10.1'
  action :install
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions