Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation errors in virtualbox-cookbook recipe #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Compilation errors in virtualbox-cookbook recipe #16

wants to merge 1 commit into from

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