cookbook 'plex', '~> 0.2.3'
plex (5) Versions 0.2.3 Follow3
Installs/Configures plex
cookbook 'plex', '~> 0.2.3', :supermarket
knife supermarket install plex
knife supermarket download plex
plex Cookbook
Installs the latest version of Plex from the Plex downloads API.
Requirements
Fedora, Debian or RHEL family Linux
Usage
Quick start
Add recipe[plex]
to your run_list to install/upgrade to the latest version of
Plex media server
Recipes
default.rb
Installs, starts, and enables Plex media server.
disable_pms.rb
Disables Plex media server.
enable_pms.rb
Enables Plex media server.
install_pms.rb
Installs Plex media server.
restart_pms.rb
Restarts Plex media server.
start_pms.rb
Starts Plex media server.
stop_pms.rb
Stops Plex media server.
uninstall_pms.rb
Uninstalls Plex media server.
Attributes
Attribute | Default | Description |
---|---|---|
node['plex']['channel'] |
nil |
Set to 'plexpass' to use the Plex Pass version of Plex media server |
node['plex']['token'] |
nil |
If you set channel to 'plexpass ' this be the value the X-Plex-Token header when logged in to plex.tv |
node['plex']['service_provider'] |
nil |
Override the service provider chef uses to interact with the Plex media server service |
node['plex']['source'] |
nil |
Override to install from a custom location to pin a version |
Resources and Providers
plex_media_server.rb
Manages the Plex media server installation
Actions
Default: install
, enable
, start
enable
install
restart
start
stop
uninstall
Attributes
-
channel
- Set to'plexpass'
to use the Plex Pass version of Plex media server -
token
- If you setchannel
to'plexpass'
this be the value theX-Plex-Token
header when logged in to plex.tv -
service_provider
- Override the service provider chef uses to interact with the Plex media server service -
source
- Override to install from a custom location to pin a version
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License & Authors
Author: Henry Muru Paenga (meringu@gmail.com)
Copyright 2016 Henry Muru Paenga
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
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.2.3 (2016-12-12)
- Action update for plex media server package
0.2.2 (2016-10-24)
- Refactor into LWRP
0.2.1: (2016-08-02)
- Ensure the plexmediaserver service is started
0.2.0: (2016-07-20)
- Use The Plex API to get the Download Links
0.1.2: (2015-11-17)
- Food critic fixes
0.1.1: (2015-08-20)
- Initial public version of Plex cookbook.
Collaborator Number Metric
0.2.3 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.3 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
0.2.3 failed this metric
FC109: Use platform-specific package resources instead of provider property: plex/providers/media_server.rb:34
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.3 passed this metric
Testing File Metric
0.2.3 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
0.2.3 passed this metric
0.2.3 failed this metric
0.2.3 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
0.2.3 failed this metric
FC109: Use platform-specific package resources instead of provider property: plex/providers/media_server.rb:34
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.3 passed this metric
Testing File Metric
0.2.3 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
0.2.3 passed this metric
0.2.3 failed this metric
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.3 passed this metric
Testing File Metric
0.2.3 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
0.2.3 passed this metric
0.2.3 failed this metric
0.2.3 passed this metric