Skip to content

lagotto/capistrano-cookbook

Repository files navigation

Capistrano Cookbook

Chef cookbook that creates configuration files for Capistrano - everything that is not under version control and can be generated by templates, e.g. application-specific settings.

Requirements

Requires Chef 0.10.10+ and Ohai 0.6.10+ for platform_family attribute use.

Platforms

Tested on the following platforms:

  • Ubuntu 12.04, 14.04

Resources/Providers

capistrano

The capistrano LWRP creates files from templates, e.g. application-specific settings

Attribute Parameters

  • name - Name of the application.
  • user - Owner for application folder. Defaults to vagrant.
  • group - Group for application folder. Defaults to vagrant.

Usage

For example, to create shared and current folders, and a application.yml configuration file from a template in the parent cookbook, run:

capistrano "myproj" do
  templates %w{ config/application.yml }
end

License & Authors

Copyright: 2014, Public Library of Science

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.

About

Chef cookbook to setup mysql for rails

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages