cookbook 'plex-home-theater', '~> 1.0.0'
plex-home-theater (2) Versions 1.0.0 Follow2
Installs the Plex Home Theater app
cookbook 'plex-home-theater', '~> 1.0.0', :supermarket
knife supermarket install plex-home-theater
knife supermarket download plex-home-theater
Plex Home Theater Cookbook
A Chef cookbook for installing Plex Home Theater.
Requirements
This cookbook now uses the custom resource design pattern only available in
Chef 12.5 and up. It currently requires either OS X or Windows.
Usage
Either add the default recipe to your run_list or implement the resource
directly in a recipe of your own.
Recipes
default
Installs Plex Home Theater.
Resources
plex_home_theater_app
A platform-agnostic way to install or remove the Plex Home Theater app.
Syntax:
plex_home_theater_app 'default' do
source 'https://example.com/plex.package'
action :install
end
Actions:
Action | Description |
---|---|
:install |
Install the app |
:remove |
Uninstall the app |
Attributes:
Attribute | Default | Description |
---|---|---|
source | nil |
An optional package source URL/path |
action | :install |
Action(s) to perform |
plex_home_theater_app_mac_os_x
OS X implementation of the plex_home_theater_app
resource.
plex_home_theater_app_windows
Windows implementation of the plex_home_theater_app
resource.
plex_home_theater_service
A platform-agnostic way to run Plex or set it to auto-run at login time.
Syntax:
plex_home_theater_service 'default' do
action :nothing
end
Actions:
Action | Description |
---|---|
:enable |
Set the app to start on login |
:disable |
Set the app to not start on login |
:start |
Start the app |
:stop |
Stop the app* |
* Currently not supported on Windows platforms
Attributes:
Attribute | Default | Description |
---|---|---|
action | :nothing |
Action(s) to perform |
plex_home_theater_service_mac_os_x
OS X implementation of the plex_home_theater_service
resource.
plex_home_theater_service_windows
Windows implementation of the plex_home_theater_service
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 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
windows ~> 1.37 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Plex Home Theater Cookbook CHANGELOG
v1.0.0 (2015-11-30)
- Convert to Chef 12.5 custom resources
v0.1.0 (2015-06-29)
- Initial release, with support for OS X and Windows
v0.0.1 (2015-06-08)
- 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.
1.0.0 failed this metric
Foodcritic Metric
1.0.0 passed this metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
1.0.0 passed this metric