Skip to content

Conversation

@anandvenkatanarayanan
Copy link

  1. Typically it is not possible to use library functions in chef attribute files. Hence using VBox::Helper
    routine in attributes/default.rb caused compilation errors in a chef-solo run in a windows 8 box.
    (See Image below)
  2. This commit moves the version detection logic from attributes/default.rb to recipes/default.rb. And this
    seems to work on Chef 11 via the command 'chef-solo --config solo.rb -j node.json'

compilation error

   files. Hence using VBox::Helper routine in attributes/default.rb
   caused compilation errors in a chef-solo run in a windows 8 box.
2) This commit moves the version detection logic from attributes/default.rb
   to recipes/default.rb. And this seesm to work on Chef 11 via the command
   'chef-solo --config solo.rb -j node.json'
@bradleyd
Copy link
Owner

I need a windows box to test this. But will get one setup

@LukeCarrier
Copy link

👍 Patch is good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants