cookbook 'vmware-fusion', '= 0.1.0'
vmware-fusion (4) Versions 0.1.0 Follow4
Installs VMWare Fusion
cookbook 'vmware-fusion', '= 0.1.0', :supermarket
knife supermarket install vmware-fusion
knife supermarket download vmware-fusion
VMware Fusion Cookbook
A Chef cookbook for installing VMware Fusion.
Requirements
This cookbook consumes the dmg cookbook to support installing OS X packages.
Usage
Either add the default recipe to your run_list or use the included resource in
a recipe of your own.
Recipes
default
Installs VMware Fusion with an optional license key attribute.
Attributes
default
An optional license key can be passed in to be configured during the Chef run:
default['vmware_fusion']['license'] = nil
Resources
vmware_fusion
A parent resource that wraps the app and config resources.
Syntax:
vmware_fusion 'default' do
license 'abc123'
action :install
end
Actions:
Action | Description |
---|---|
:install |
Install the app |
:remove |
Uninstall the app |
:configure |
Configure the app |
Attributes:
Attribute | Default | Description |
---|---|---|
license | nil |
An optional license key |
action | :install |
Action(s) to perform |
vmware_fusion_app
Used to manage the installation of the VMware Fusion app.
Syntax:
vmware_fusion_app 'default' do
action :install
end
Actions:
Action | Description |
---|---|
:install |
Install the app |
:remove |
Uninstall the app |
Attributes:
Attribute | Default | Description |
---|---|---|
action | :install |
Action(s) to perform |
vmware_fusion_config
Used to manage the configuration of VMware Fusion.
Syntax:
vmware_fusion_config 'default' do
license 'abc123'
action :configure
end
Actions:
Action | Description |
---|---|
:configure |
Configure the app |
Attributes:
Attribute | Default | Description |
---|---|---|
license | nil |
An optional license key |
action | :configure |
Action(s) to perform |
Providers
Chef::Provider::VmwareFusion
Main provider for OS X (the only platform VMware Fusion is for).
Chef::Provider::VmwareFusionApp
A provider dedicated to app installation and removal.
Chef::Provider::VmwareFusionConfig
A provider dedicated to app configuration.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Add tests for the new feature; ensure they pass (
rake
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
License & Authors
- Author: Jonathan Hartman j@p4nt5.com
Copyright 2015 Jonathan Hartman
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Dependent cookbooks
dmg ~> 2.2 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
VMware Fusion Cookbook CHANGELOG
v0.1.0 (2015-07-28)
- Initial release!
v0.0.1 (2015-07-09)
- Development started
Foodcritic Metric
0.1.0 failed this metric
FC031: Cookbook without metadata file: /tmp/cook/47ccca1b2ae086096b1ae9cd/vmware-fusion/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/47ccca1b2ae086096b1ae9cd/vmware-fusion/metadata.rb:1
0.1.0 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/47ccca1b2ae086096b1ae9cd/vmware-fusion/metadata.rb:1