cookbook 'vmware-fusion', '~> 1.0.0'
vmware-fusion (4) Versions 1.0.0 Follow4
Installs VMWare Fusion
cookbook 'vmware-fusion', '~> 1.0.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 optional license key and/or package source
attributes.
Attributes
default
An optional license key can be passed in to be configured during the Chef run:
default['vmware_fusion']['license'] = nil
An optional path to a VMWare Fusion .dmg file can be provided to install
instead of downloading the package from VMware's site.
default['vmware_fusion']['source'] = nil
Resources
vmware_fusion
A parent resource that wraps the app and config resources.
Syntax:
vmware_fusion 'default' do
license 'abc123'
source '/path/to/vmware.dmg'
action :install
end
Actions:
Action | Description |
---|---|
:install |
Install and configure the app |
:remove |
Uninstall the app |
Attributes:
Attribute | Default | Description |
---|---|---|
license | nil |
An optional license key |
source | nil |
An optional path to a VMware .dmg file |
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
source '/path/to/vmware.dmg'
action :install
end
Actions:
Action | Description |
---|---|
:install |
Install the app |
:remove |
Uninstall the app |
Attributes:
Attribute | Default | Description |
---|---|---|
source | nil |
An optional path to a VMware .dmg file |
action | :install |
Action(s) to perform |
vmware_fusion_config
An execute resource customized to handle the configuration of VMware Fusion
through its included initialization script.
Syntax:
vmware_fusion_config 'default' do
license 'abc123'
action :create
end
Actions:
Action | Description |
---|---|
:create |
Configure the app |
Attributes:
Attribute | Default | Description |
---|---|---|
license | nil |
An optional license key |
action | :create |
Action(s) to perform |
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-2016, 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
v1.0.0 (2016-01-29)
- Convert to Chef custom resources (breaking compatibility with Chef < 12 and requiring the compat_resource cookbook for Chef < 12.5)
- Merge
vmware_fusion
resource's:configure
action into:install
v0.2.0 (2015-08-25)
- Support a
source
attribute for specific .dmg package paths
v0.1.1 (2015-08-01)
- Redact license keys from log output
v0.1.0 (2015-07-28)
- Initial release!
v0.0.1 (2015-07-09)
- Development started
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 passed this metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number