Skip to content

Cookbook runs even on unsupported systems #15

@axelrtgs

Description

@axelrtgs

the cookbook runs when included in a role run list consisting of mixed nodes (I.E. Ubuntu and windows).
Expected behavior would be to test and not run if not Debian based platform since this is only compatible with Debian.

i fixed this in a local copy by adding:

case node['platform_family']
when "debian"

at the begining of default.rb recipe and then:

end

at the end of the file so it only runs when on debian systems removing the compatibility issue with windows.

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