Skip to content

cookbook_versions in environments #57

@rmoriz

Description

@rmoriz

I ran into an issue which I don't fully understand:

setup:

  • 2+ environments
  • hard version constraint of a dependency cookbook
$ knife environment compare                   
                     production  rollout  staging
windows              latest      = 3.1.1  latest 

However the node resolves to the latest version (3.1.2 in this case):

$ chef-client -E rollout
...
  - windows (3.1.2)
  - yum-epel (2.1.2)
  - zap (0.15.1)
  - zypper (0.4.0)
…

Using knife download cookbook windows -E rollout i'm also getting the 3.1.2 release instead of the expected 3.1.1 release. That said, knife download cookbook windows --cookbook-version 3.1.1 works as expected. 😕

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