cookbook 'pinto', '~> 0.1.10', :supermarket
pinto (11) Versions 0.1.10 Follow0
Installs/Configures pinto
cookbook 'pinto', '~> 0.1.10'
knife supermarket install pinto
knife supermarket download pinto
Synopsis
Installs, configures Pinto application
Recipes
- pinto::application - installs Pinto application in standalone mode
- pinto::server - installs Pinto server ( should be run after pinto::application recipe )
Attributes
May be overridden to alter recipes behaviour
-
node[:pinto][:user]
,node[:pinto][:group]
- The owner and group of pinto application. The application will be installed into~/opt/local/pinto
directory -
node[:pinto][:user_shell]
, shell for pinto application owner, default is '/bin/bash' -
node[:pinto][:host]
- pinto server bind host, default value is 0.0.0.0 -
node[:pinto][:port]
- pinto server bind port, default value is 3111 -
node[:pinto][:workers]
- number of pinto server workers, default value is 3
Tested on
- CentOS-6.4-x86_64, , Chef 10.14.0
- CentOS-6.3-x86_64-minimal, Chef 10.14.2
- Debian-6.0.4-64-bit, Chef 11.4.4
- Ubuntu 10.04.1 LTS, Chef 11.4.4
Current release
http://community.opscode.com/cookbooks/pinto
Contributing
I use berkshelf for developing / testing pinto cookbook. Berkshelf is a framework for testing / managing chef cookbooks. So if you are interested in contributing, hacking - berkshelf is the best way to go ahead. Next commands will explain how to start.
Install berkshelf
$ gem install berkshelf
Install vagrant
Vagrant is the tools for running / provisioning VirtualBox machines. Berkshelf and Vagrant are tightly integrated. Berskhelf requires latest version of vagrant. Visit the Vagrant downloads page - http://downloads.vagrantup.com/ and download the latest installer for your operating system.
Install vagrant-berkshelf plugin
Second thing we need is berkshelf vagrant plugin. Following command will install the plugin
$ vagrant plugin install vagrant-berkshelf
Fork cookbooks
$ git clone https://github.com/melezhik/cookbooks.git
Run vagrant box
Following command will boot vagrant virtual machine, deploy pinto on it and run tests.
$ cd cookbooks/pinto
$ vagrant up
Make changes
Change code and revision your changes running tests again. For standard vagrant work-flow checkout - http://docs.vagrantup.com/v2/
$ mcedit recipes/application.rb
$ vagrant provision
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.10 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.10 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.1.10 failed this metric
FC009: Resource attribute not recognised: pinto/recipes/application.rb:20
FC064: Ensure issues_url is set in metadata: pinto/metadata.rb:1
FC065: Ensure source_url is set in metadata: pinto/metadata.rb:1
FC066: Ensure chef_version is set in metadata: pinto/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.10 passed this metric
Publish Metric
0.1.10 passed this metric
Supported Platforms Metric
0.1.10 passed this metric
Testing File Metric
0.1.10 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.1.10 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
0.1.10 failed this metric
0.1.10 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.1.10 failed this metric
FC009: Resource attribute not recognised: pinto/recipes/application.rb:20
FC064: Ensure issues_url is set in metadata: pinto/metadata.rb:1
FC065: Ensure source_url is set in metadata: pinto/metadata.rb:1
FC066: Ensure chef_version is set in metadata: pinto/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.10 passed this metric
Publish Metric
0.1.10 passed this metric
Supported Platforms Metric
0.1.10 passed this metric
Testing File Metric
0.1.10 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.1.10 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
0.1.10 failed this metric
FC064: Ensure issues_url is set in metadata: pinto/metadata.rb:1
FC065: Ensure source_url is set in metadata: pinto/metadata.rb:1
FC066: Ensure chef_version is set in metadata: pinto/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.10 passed this metric
Publish Metric
0.1.10 passed this metric
Supported Platforms Metric
0.1.10 passed this metric
Testing File Metric
0.1.10 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.1.10 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
0.1.10 passed this metric
0.1.10 passed this metric
Testing File Metric
0.1.10 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.1.10 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
0.1.10 failed this metric
0.1.10 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