cookbook 'yum-vmware-tools', '~> 3.1.1'
yum-vmware-tools (5) Versions 3.1.1 Follow10
Installs and configures VMWare yum repositories.
cookbook 'yum-vmware-tools', '~> 3.1.1', :supermarket
knife supermarket install yum-vmware-tools
knife supermarket download yum-vmware-tools
yum-vmware-tools Cookbook
Installs vmware-tools for EL 5, from packages.vmware.com.
For EL 6, installs open-vm-tools by default, from EPEL.
An undo recipe is included to remove, and cleanup, older vmware-tools installations.
Requirements
- RHEL platform family, version 5 or 6.
- VMWare guest.
packages
-
dmidecode
- needs dmidecode to inspect BIOS, and determine VMWare virtual hardware.
Attributes
yum-vmware-tools::default
These are the attributes you may need to override in a role.
-
yum['vmware']['version']
- VMWare Tool release string, used to compute baseurl.- Default, 'latest'
-
yum['vmware']['force_official']
- Force official VMWare packages to be used as the yum source on EL6.
Opposed to using open-vm-tools sourced from EPEL.- Default, false, uses open-vm-tools from EPEL.
These are attributes you should probably leave alone.
-
yum['vmware']['enabled']
- Boolean flag, computed by presence of VMWare virtual hardware.- Default, true when
dmi['system']['manufacturer']
is'VMWare Inc.'
, false on other hardware.
- Default, true when
-
yum['vmware']['baseurl']
- Base URL, to use in the vmware-tools.repo file.- Default, computed by
yum['vmware']['version']
andnode['platform_version']
.
- Default, computed by
yum['vmware']['gpgkey']
- URL of VMWare packaging key-
yum['vmware']['packages']
- List of packages to install- EL5 default, [ vmware-tools-esx, vmware-tools-esx-kmods ]
- EL6 default, [ open-vm-tools ]
-
yum['vmware']['services']
- Service script(s) to enable, and start- EL5 default, [ vmware-tools-services ]
- EL6 default, [ vmtoolsd ]
Usage
yum-vmware-tools::default
Example, force official repository on Enterprise Linux 6.x
default_attributes(
:yum => {
:vmware => {
:force_official => false
}
}
),
run_list: [ "recipe[yum-vmware-tools]" ]
yum-vmware-tools::undo
Example, remove older vmware-tools installation.
run_list: [ "recipe[yum-vmware-tools::undo]" ]
License and Authors
Author:: Eric G. Wolfe eric.wolfe@gmail.com
Copyright:: 2010-2011
Author:: Tippr, Inc.
Copyright:: 2010
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
yum >= 0.0.0 |
yum-epel >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
yum-vmware-tools Changelog
v3.1.1
- Fixes #2 - attribute load ordering
- Use shared_examples in rspec
v3.1.0
- Reload Ohai data after dmidecode is installed for force_official evaluation consistency.
- Change yum.vmware.version from 5.1latest to latest
v3.0.2
- Force upstart on EL6 && stock vmware-tools
v3.0.0
- yumrepo refactored into yum-vmware-tools
v2.1.0
- Pin against yum < 3.0.0
v2.0.0
- Add test-kitchen skeleton
- Validated recipes against yum v2.3.0
- Fix minitest-spec tests for Chef 11
- Deprecated annvix repo
- Appears to be no longer maintained for EL6
v1.0.0
- vmware-tools
- Bump version to ESX 5.1
- re-instated to default recipe
- add upstart support for vmware-tools 9.0 packages on EL 6
- Change LWRP action to create (updates repo file), instead of add
- deprecate/remove epel recipe
- has been moved over to Opscodes yum::epel
- disable minitest spec for Travis
- This isn't working on TravisCI, will revisit unit tests later
v0.16.6
- add zeromq repo
- contributed by @BryanWB
- Bump chef gem in Gemfile
- Locked chef gem at 10.X, 'cause minitest spec seems to be broke on chef 11.x.
TODO - Replace tests with chefspec
v0.16.5
Fix mirrorlist attribute in Dell recipe.
v0.16.4
Thanks to Paul Graydon (@twirrim) for adding Percona MySQL repositories.
Thanks to Bryan Berry (@bryanwb) for adding yet another PostgreSQL
repository. :)
Breaking changes (postgresql)
- Recipe renamed, postgresql9 -> postgresql.
- Added node['repo']['postgresql']['version'] to select version of Postgres via attribute, from pgrpms.org repository.
v0.16.3
Set name/base_url to localdomain in the case Ohai domain
is
unavailable. Fixes chef-solo compilation error on Vagrant boxes.
v0.16.2
Change corporate recipe to key off domain name.
v0.16.0
Add VMWare Tools for ESX v5.0u1, along with a vmware-tools-upgrade
recipe. The yumrepo::vmware-tools recipe is backwards incompatible.
Unfortunately there is no way to upgrade vmware-tools rpm files without
yanking them out, and replacing them.
One must ensure the `vmware-tools-upgrade` recipe will run **before**
the vmware-tools
recipe. Otherwise the 4.1 recipe will directly
conflict with the 5.0u1 version of the recipe.
I also added some attribute sanity tests for this new version, enjoy!
Collaborator Number Metric
3.1.1 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
3.1.1 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
3.1.1 failed this metric
FC064: Ensure issues_url is set in metadata: yum-vmware-tools/metadata.rb:1
FC065: Ensure source_url is set in metadata: yum-vmware-tools/metadata.rb:1
FC066: Ensure chef_version is set in metadata: yum-vmware-tools/metadata.rb:1
FC069: Ensure standardized license defined in metadata: yum-vmware-tools/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
3.1.1 passed this metric
Testing File Metric
3.1.1 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
3.1.1 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
3.1.1 failed this metric
3.1.1 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
3.1.1 failed this metric
FC064: Ensure issues_url is set in metadata: yum-vmware-tools/metadata.rb:1
FC065: Ensure source_url is set in metadata: yum-vmware-tools/metadata.rb:1
FC066: Ensure chef_version is set in metadata: yum-vmware-tools/metadata.rb:1
FC069: Ensure standardized license defined in metadata: yum-vmware-tools/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
3.1.1 passed this metric
Testing File Metric
3.1.1 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
3.1.1 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
3.1.1 failed this metric
FC065: Ensure source_url is set in metadata: yum-vmware-tools/metadata.rb:1
FC066: Ensure chef_version is set in metadata: yum-vmware-tools/metadata.rb:1
FC069: Ensure standardized license defined in metadata: yum-vmware-tools/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
3.1.1 passed this metric
Testing File Metric
3.1.1 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
3.1.1 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
3.1.1 failed this metric
3.1.1 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