cookbook 'boilerplate', '~> 0.5.10'
boilerplate
(32) Versions
0.5.10
-
Follow5
Installs/Configures boilerplate
cookbook 'boilerplate', '~> 0.5.10', :supermarket
knife supermarket install boilerplate
knife supermarket download boilerplate
Description
This cookbook's goal is to provide the best and dead simple way to start new web application project. Provides basic applications no matter what language you use.
Containing following
Category | Application |
---|---|
HTTP Server | apache |
DB | mysql |
BTS | gitlab (default), redmine |
CI | jenkins |
VCS | git, subversion |
Editor | emacs, vim |
Utils | guard, jasmine, juicer, etc... |
Following cookbooks are language specific boilerplates.
Requirements
- Chef: 11.x+
- Ruby: 1.9+
Default Settings
Application | URL | ID : PASS |
---|---|---|
gitlab | http://gitlab.local:8081/ | admin@local.host : 5iveL!fe |
jenkins | http://jenkins.local:9090/ | - |
Attributes
Usage
How to use in a recipe
include_recipe 'boilerplate'
Configuration
Clone git repository and install gitlab, jenkins into example.com
$ cat nodes/example.json { "boilerplate": { "country": "jp", "app": { "repo": { "type": "git", "uri": "https://github.com/your/repo" } }, "gitlab": { "host": "example.com" }, "jenkins": { "host": "example.com" } } }
Choose fastest package mirror from jp (Default: us)
$ cat nodes/example.json { "boilerplate": { "country": "jp" } }
Stop installing specific applicaiton
Stop installing jenkins
$ cat nodes/example.json { "boilerplate": { "jenkins": false } }
Set /vagrant as DocumentRoot
$ cat nodes/example.json { "boilerplate": { "document_root": "/vagrant" } }
License and Authors
Author:: Jun Nishikawa topaz2@m0n0m0n0.com
Copyright (C) 2014, Jun Nishikawa topaz2@m0n0m0n0.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.
Dependent cookbooks
apache2 >= 0.0.0 |
chef-dk >= 0.0.0 |
database >= 0.0.0 |
mysql >= 0.0.0 |
nodejs >= 0.0.0 |
phantomjs >= 0.0.0 |
python >= 0.0.0 |
ruby >= 0.0.0 |
Contingent cookbooks
0.4.12:
- 8aaf253 (HEAD, origin/master) Added --full-index --jobs=
ohai cpu/total
- 04183a5 Added deploy task
- 05cbf39 Added deploy scripts
- 7b06826 Removed header
- 19d1007 Added build-user-vars-plugin
- cbbac0c Enabled throttleMatrixConfigurations
- ab28f03 Enabled throttle
- ec2daaf Enabled throttle
- e937006 Disabled scm trigger
- 561b622 Added redisio dependency
- 9456c5f Added role-strategy
- 6fe20d4 Merge branch 'master' of github.com:topaz2/chef_boilerplate
|\
| * 43c69ce Added new jobs | * 0604a07 Added build job for docs | * 8abd1c4 Added build jobs for boilerplate itself - | 4976626 Added redisio dependency
|/
- fe2692f Fixed default executor counts
- 74924e7 Improved to throttle heavy jobs
- 5739e45 Fixed redmine backup scripts
- 1a83c0a Improved jenkins executors to be customizable
- 6863b91 Added --full-index option
- bbe8fda Added daily build trigger
- 4162067 Added document generator job
- a4ce040 Removed debug log
- da1b186 Fixed bug mixed while fixing rubocop error
- 467c9bb Defined job dependency
- e02a6f2 Added development environment
- f0e3ca2 Added dependencies upgrade option
- 9abcaf1 Upgraded php version
- 4f5669e Fixed rubocop errors
- 6532d1e Removed dependencies upgrade jobs
- 9a8d0f1 Added build scripts for jenkins task
0.1.0:
- Initial release of boilerplate
Collaborator Number Metric
0.5.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.5.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.5.10 failed this metric
FC064: Ensure issues_url is set in metadata: boilerplate/metadata.rb:1
FC065: Ensure source_url is set in metadata: boilerplate/metadata.rb:1
FC066: Ensure chef_version is set in metadata: boilerplate/metadata.rb:1
FC069: Ensure standardized license defined in metadata: boilerplate/metadata.rb:1
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: boilerplate/recipes/mysql_replication.rb:13
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.5.10 passed this metric
Testing File Metric
0.5.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.5.10 passed this metric
0.5.10 failed this metric
0.5.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.5.10 failed this metric
FC064: Ensure issues_url is set in metadata: boilerplate/metadata.rb:1
FC065: Ensure source_url is set in metadata: boilerplate/metadata.rb:1
FC066: Ensure chef_version is set in metadata: boilerplate/metadata.rb:1
FC069: Ensure standardized license defined in metadata: boilerplate/metadata.rb:1
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: boilerplate/recipes/mysql_replication.rb:13
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.5.10 passed this metric
Testing File Metric
0.5.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.5.10 passed this metric
0.5.10 failed this metric
FC065: Ensure source_url is set in metadata: boilerplate/metadata.rb:1
FC066: Ensure chef_version is set in metadata: boilerplate/metadata.rb:1
FC069: Ensure standardized license defined in metadata: boilerplate/metadata.rb:1
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: boilerplate/recipes/mysql_replication.rb:13
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.5.10 passed this metric
Testing File Metric
0.5.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.5.10 passed this metric
0.5.10 failed this metric
0.5.10 passed this metric