cookbook 'nats', '~> 1.0.2'
nats (4) Versions 1.0.2 Follow2
Installs/Configures nats
cookbook 'nats', '~> 1.0.2', :supermarket
knife supermarket install nats
knife supermarket download nats
Description
Installs and configures a Nats
server for use with CloudFoundry.
This cookbook will install a Nats Server on the target node along with
the necessary configuration files and init scripts to run it. Because
Nats is used so heavily by CloudFoundry, this cookbook relies on the
cloudfoundry
cookbook for common functionality.
Requirements
Platform
- Ubuntu
Tested on:
- Ubuntu 10.04
- Ubuntu 12.04
Cookbooks
- cloudfoundry
- rbenv
Attributes
-
node['nats']['gem]['version']
- Version of the nats gem to install. Default is0.4.28
. -
node['nats_server']['host']
- Nats will bind to this host. Default is0.0.0.0
. -
node['nats_server']['port']
- Nats will bind to this port. Default is4222
. -
node['nats_server']['user']
- Clients will connect to nats as this user. Default isnats
. -
node['nats_server']['password']
- Clients will connect to nats with this password. Default isnats
. -
node['nats_server']['pid_file']
- Where to write Nats's pid. Default isFile.join(node['cloudfoundry']['pid_dir'], "nats-server.pid")
. -
node['nats_server']['log_file']
- Where to write Nats's logs. Default isFile.join(node['cloudfoundry']['log_dir'], "nats-server.log")
. -
node['nats_server']['ruby_version']
- Ruby version to use to run Nats. Default isnode['cloudfoundry']['ruby_version']
; there should be no reason to change it.
Recipes
default
At this time the default recipe does nothing.
client
Installs the nats
gem for use as a client, i.e. in order to get the CLI tools.
server
Installs the nats
gem for use as a server, configures it and runs it as a daemon.
License and Author
Author:: Andrea Campi (andrea.campi@zephirworks.com)
Author:: Trotter Cashion (cashion@gmail.com)
Copyright:: 2012 ZephirWorks
Copyright:: 2012 Trotter Cashion
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
cloudfoundry ~> 1.3.0 |
rbenv >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.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
1.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
1.0.2 failed this metric
FC064: Ensure issues_url is set in metadata: nats/metadata.rb:1
FC065: Ensure source_url is set in metadata: nats/metadata.rb:1
FC066: Ensure chef_version is set in metadata: nats/metadata.rb:1
FC069: Ensure standardized license defined in metadata: nats/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.2 passed this metric
Testing File Metric
1.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
1.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
1.0.2 failed this metric
1.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
1.0.2 failed this metric
FC064: Ensure issues_url is set in metadata: nats/metadata.rb:1
FC065: Ensure source_url is set in metadata: nats/metadata.rb:1
FC066: Ensure chef_version is set in metadata: nats/metadata.rb:1
FC069: Ensure standardized license defined in metadata: nats/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.2 passed this metric
Testing File Metric
1.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
1.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
1.0.2 failed this metric
FC065: Ensure source_url is set in metadata: nats/metadata.rb:1
FC066: Ensure chef_version is set in metadata: nats/metadata.rb:1
FC069: Ensure standardized license defined in metadata: nats/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.2 passed this metric
Testing File Metric
1.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
1.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
1.0.2 failed this metric
1.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