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

pathogen (11) Versions 0.3.2

Installs/Configures pathogen vim plugin manager

Policyfile
Berkshelf
Knife
cookbook 'pathogen', '= 0.3.2', :supermarket
cookbook 'pathogen', '= 0.3.2'
knife supermarket install pathogen
knife supermarket download pathogen
README
Dependencies
Quality 50%

pathogen Cookbook

Use this cookbook to install the Pathogen vim plugin manager.

Platforms

This cookbook has been tested with the following platforms:

  • Ubuntu 14.04
  • Centos 7.2

Prerequisites

The focus of this cookbook is on installing Pathogen and plugins, so it doesn't provide sophisticated recipes for git and vim itself, for which excellent and detailed cookbooks are already available. With that said, you can include barebones package-based recipes from within this cookbook if you don't need anything special:

include_recipe 'pathogen[git]'
include_recipe 'pathogen[vim]'

Attributes

  • node['pathogen']['install_path'] - Specify the directory where pathogen should be installed. Defaults to '/root/.vim.
  • node['pathogen']['vimrc_path'] - Specify the location of your user's .vimrc file. Defaults to '/root/.vimrc'.

Resources

  • pathogen_plugin - This resource wraps git and can be used to install plugins to node['pathogen']['install_path']/bundle. To use it, pass the name of the plugin as the name attribute and the GitHub user/organization as the github_org attribute:

    pathogen_plugin 'ctrlp.vim' do
      github_org 'ctrlpvim'
    end
    

Usage

To install Pathogen, add recipe[pathogen] to your run list or include the default recipe in recipe that is in your run list. If you aren't using some other source to install git and vim, add those recipes before the default pathogen recipe.

To install plugins, use the above-mentioned pathogen_plugin LWRP in a recipe that is in your run list.

Contributing

Please open an issue if you find a bug. Pull requests are also welcome. When submitting pull requests, please try to abide by the following guidelines:

  1. Keep changes as small as possible
  2. Rebase and squash extraneous commits whenever possible
  3. Use detailed commit messages
  4. Don't modify version information

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.3.2 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Foodcritic Metric
            

0.3.2 passed this metric