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

Support SoftLayer disk_capacity configuration #137

Closed
wants to merge 1 commit into from
Closed

Support SoftLayer disk_capacity configuration #137

wants to merge 1 commit into from

Conversation

hugespoon
Copy link

This adds support for specifying the disk_capacity hash in your .kitchen.yml in the form of the following:


---
driver:
  name: vagrant
  provider: softlayer
  customize:
     disk_capacity:
       "0": 25
       "2": 100

We need to prevent enclosing the hash in quotes due to the conversion to a symbolized_hash. The above would result in the following invalid Vagrantfile otherwise:

p.disk_capacity = "{:"0"=>25, :"2"=>100}"

@fnichol
Copy link
Contributor

fnichol commented Mar 23, 2015

@hugespoon Thanks for the disk_capacity tweaks! I took the liberty of rebasing this against master (which now has specs) and added a test to ensure that we don't regress in 706256a. Thank you!

@fnichol fnichol closed this Mar 23, 2015
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.

2 participants