cookbook 'vlc', '~> 1.1.0'
The vlc cookbook has been deprecated
Author provided reason for deprecation:
The vlc cookbook has been deprecated and is no longer being maintained by its authors. Use of the vlc cookbook is no longer recommended.
vlc (5) Versions 1.1.0 Follow0
Installs VLC
cookbook 'vlc', '~> 1.1.0', :supermarket
knife supermarket install vlc
knife supermarket download vlc
Vlc Cookbook
A Chef cookbook for VLC.
Requirements
As of v1.0.0, Chef 12.5 is generally required, though it may be possible to use
it in earlier versions of Chef 12 via the
compat_resource
cookbook.
This cookbook currently supports a number of platforms. It uses the dmg,
windows, apt, and freebsd community cookbooks for OS X, Windows, Ubuntu/Debian,
and FreeBSD support, respectively.
For RHEL support, it uses the Nux Dextop YUM
repo (which also depends on EPEL), as EPEL has no VLC packages and RPMForge
doesn't have any for RHEL 7.
Usage
Either add the default recipe to your run_list or implement the resource
directly in a recipe of your own.
Recipes
default
Performs an attribute-driven install of VLC.
Attributes
default
A specific version of VLC can be installed if you so desire:
default['vlc']['app']['version'] = nil
Resources
vlc_app
A platform-agnostic parent resource that defines the properties and actions for
all the platform-specific child resources.
Syntax:
vlc_app 'default' do
version '1.2.3'
action :install
end
Actions:
Action | Description |
---|---|
:install |
Install the app |
:remove |
Uninstall the app |
Attributes:
Attribute | Default | Description |
---|---|---|
version | nil |
A specific version to install |
action | :install |
Action(s) to perform |
vlc_app_mac_os_x
OS X implementation of the vlc_app
resource.
vlc_app_windows
Windows implementation of the vlc_app
resource.
vlc_app_debian
Debian/Ubuntu implementation of the vlc_app
resource.
vlc_app_rhel
RHEL (and RHEL-alike) implementation of the vlc_app
resource.
vlc_app_freebsd
FreeBSD implementation of the vlc_app
resource.
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 |
windows ~> 1.37 |
apt ~> 3.0 |
yum ~> 3.8 |
yum-epel ~> 0.6 |
freebsd ~> 0.3 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Vlc Cookbook CHANGELOG
v1.1.0 (2016-03-04)
- Bump apt dependency from 2.x to 3.x
v1.0.0 (2015-12-09)
- Update to Chef custom resources (breaking compatibility with Chef < 12.5)
- Add RHEL support
- Change the
node['vlc']['version']
attribute to the better-namespacednode['vlc']['app']['version']
v0.3.0 (2015-06-23)
- Give the
vlc_app
resource an optionalversion
attribute - Fix bug with OS X package's mount volume name
v0.2.0 (2015-06-21)
- Remove hardcoded version strings in OS X and Windows providers; get latest version from the VLC site during the Chef run
v0.1.0 (2015-06-20)
- Initial release for OS X, Windows, Ubuntu/Debian, and FreeBSD!
v0.0.1 (2015-06-14)
- Development started
Collaborator Number Metric
1.1.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.1.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.1.0 passed this metric
No Binaries Metric
1.1.0 passed this metric
Testing File Metric
1.1.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.1.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.1.0 failed this metric
1.1.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.1.0 passed this metric
No Binaries Metric
1.1.0 passed this metric
Testing File Metric
1.1.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.1.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.1.0 passed this metric
1.1.0 passed this metric
Testing File Metric
1.1.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.1.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.1.0 failed this metric
1.1.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