Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

ChefSpec platform not supported? #34

Open
scalp42 opened this issue Mar 12, 2018 · 0 comments
Open

ChefSpec platform not supported? #34

scalp42 opened this issue Mar 12, 2018 · 0 comments

Comments

@scalp42
Copy link

scalp42 commented Mar 12, 2018

Cookbook version

locale 2.0.1

Chef-client version

Chef Development Kit Version: 2.5.3
chef-client version: 13.8.5
delivery version: master (73ebb72a6c42b3d2ff5370c476be800fee7e5427)
berks version: 6.3.1
kitchen version: 1.20.0
inspec version: 1.51.21

Platform Details

MacOS

Scenario:

Have a simple spec like the following passing:

    it 'converges successfully' do
      expect { chef_run }.to_not raise_error
    end

Actual Result:

  1) xxx::default ubuntu converges successfully
     Failure/Error: expect { chef_run }.to_not raise_error

       expected no Exception, got #<RuntimeError: ubuntu platform not supported by the locale cookbook.> with backtrace:
         # /tmp/cookbooks/locale/recipes/default.rb:56:in `from_file'
         # /tmp/cookbooks/xxx/recipes/default.rb:25:in `from_file'
         # ./spec/unit/recipes/default_spec.rb:8:in `block (3 levels) in <top (required)>'
         # ./spec/unit/recipes/default_spec.rb:12:in `block (4 levels) in <top (required)>'
         # ./spec/unit/recipes/default_spec.rb:12:in `block (3 levels) in <top (required)>'
         # ./spec/spec_helper.rb:17:in `block (2 levels) in <top (required)>'
     # ./spec/unit/recipes/default_spec.rb:12:in `block (3 levels) in <top (required)>'
     # ./spec/spec_helper.rb:17:in `block (2 levels) in <top (required)>'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant