cookbook 'tekno-mineos', '~> 2.0.2', :supermarket
tekno-mineos (2) Versions 2.0.2 Follow0
Installs/Configures mineos
cookbook 'tekno-mineos', '~> 2.0.2'
knife supermarket install tekno-mineos
knife supermarket download tekno-mineos
tekno-mineos
Defines custom resources to install and manages mineos
By default to access the mineos webgui point a browser at https://SERVERNAME:8443
The login will be any valid system account so access should be restricted to this system using a firewall or some other mechanism.
Requirements
- Supported platforms: Ubuntu 16.04
- Chef-Client: >= 14
Usage
Add the following to the metadata.rb
depends 'tekno-mineos'
Resources
mineos_application
Downloads and installs mineos from git
actions
-
:install
- (default action): installs mineos and configures systemd service with a self signed certificate
parameters
-
install_path
- This should be the path to install the mineos application, can be set with the name property
examples
mineos_application '/usr/games/minecraft'
mineos_config
actions
-
create
- create the necessary configs
parameters
-
https
- bool -
host
- host/ip to bind to, default: '0.0.0.0' port
- port to listen on, default: 8443generate_cert
- generate a self signed certificate, default: trueinstall_path
- install path for mineos, default: '/usr/games/minecraft'ssl_key
- SSL certificate key path, default: '/etc/ssl/certs/mineos.key'ssl_cert
- SSL certificate path, default: '/etc/ssl/certs/mineos.crt'ssl_chain
- SSL chain path, default: ''
examples
mineos_config '/etc/mineos.conf' do
install_path '/usr/games/minecraft'
notifies :reload, 'mineos_service[mineos.service]', :immediately
end
mineos_service
Handles setting up and managing mineos service. Currently limited to setting up systemd services
actions
-
create
- install the unit files for the service -
start
- start the service -
stop
- stop the service -
restart
- restart the service -
reload
- reload the service
parameters
-
install_path
- path to the location where mineos was installed
examples
mineos_service 'mineos.service' do
install_path '/usr/games/minecraft'
action [:create, :start]
end
Recipes
default
Provides an example for a basic install and start up mineos
Dependent cookbooks
nodejs ~> 5.0.0 |
java >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
2.0.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
2.0.2 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
2.0.2 failed this metric
FC069: Ensure standardized license defined in metadata: tekno-mineos/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.0.2 passed this metric
Publish Metric
2.0.2 passed this metric
Supported Platforms Metric
2.0.2 passed this metric
Testing File Metric
2.0.2 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
2.0.2 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
2.0.2 failed this metric
2.0.2 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
2.0.2 failed this metric
FC069: Ensure standardized license defined in metadata: tekno-mineos/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.0.2 passed this metric
Publish Metric
2.0.2 passed this metric
Supported Platforms Metric
2.0.2 passed this metric
Testing File Metric
2.0.2 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
2.0.2 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
2.0.2 failed this metric
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
2.0.2 passed this metric
Publish Metric
2.0.2 passed this metric
Supported Platforms Metric
2.0.2 passed this metric
Testing File Metric
2.0.2 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
2.0.2 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
2.0.2 passed this metric
2.0.2 passed this metric
Testing File Metric
2.0.2 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
2.0.2 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
2.0.2 failed this metric
2.0.2 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