Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

boilerplate (32) Versions 0.5.3

Installs/Configures boilerplate

Policyfile
Berkshelf
Knife
cookbook 'boilerplate', '= 0.5.3', :supermarket
cookbook 'boilerplate', '= 0.5.3'
knife supermarket install boilerplate
knife supermarket download boilerplate
README
Dependencies
Changelog
Quality 0%

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.

Build Status
Dependency Status
Code Climate
Coverage Status

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

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/.

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

Foodcritic Metric
            

0.5.3 failed this metric

FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/attributes/default.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/attributes/default.rb:16
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/attributes/default.rb:17
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/attributes/default.rb:18
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/attributes/default.rb:20
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/attributes/default.rb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/attributes/default.rb:25
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/attributes/default.rb:26
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/attributes/default.rb:40
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/attributes/default.rb:60
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/attributes/default.rb:69
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/attributes/default.rb:78
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/attributes/default.rb:84
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/attributes/default.rb:85
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/attributes/default.rb:114
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/attributes/default.rb:115
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/apache2.rb:29
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/apache2.rb:30
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/apache2.rb:39
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/apt_fast.rb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/apt_fast.rb:26
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/apt_fast.rb:32
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/apt_fast.rb:38
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/apt_fast.rb:42
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/apt_packages.rb:23
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/apt_packages.rb:25
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/apt_packages.rb:29
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/apt_packages.rb:35
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/apt_packages.rb:41
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/apt_packages.rb:45
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/apt_packages.rb:46
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/apt_packages.rb:53
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/bower_packages.rb:23
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/bower_packages.rb:24
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/default.rb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/default.rb:22
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/gem_packages.rb:26
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/gem_packages.rb:27
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/gem_packages.rb:33
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/mysql.rb:24
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/mysql.rb:42
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/mysql.rb:44
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/mysql_replication.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/mysql_replication.rb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/mysql_replication.rb:8
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/mysql_replication.rb:9
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/mysql_replication.rb:12
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/mysql_replication.rb:28
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/mysql_replication.rb:37
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/mysql_replication.rb:58
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/project.rb:23
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/project.rb:24
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/project.rb:32
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/project.rb:34
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/redmine.rb:27
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/redmine.rb:39
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/redmine.rb:42
FC014: Consider extracting long ruby_block to library: /tmp/cook/5e6f8214c08cc9c3ce0fd2f5/boilerplate/recipes/mysql_replication.rb:22