Git Product home page Git Product logo

puppetlabs-git's Introduction

#git

####Table of Contents

  1. Overview - What is the git module?
  2. Module Description - What does the module do?
  3. Setup - The basics of getting started with git
  4. Usage - Configuration options and additional functionality
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

##Overview

Simple module that can install git or gitosis

##Module Description

This module installs the git revision control system on a target node. It does not manage a git server or any associated services; it simply ensures a bare minimum set of features (e.g. just a package) to use git.

##Setup

###What git affects

  • Package['git']

The specifics managed by the module may vary depending on the platform.

##Usage

###I just want git installed Simply include the git class.

include git

###I want to configure git using hiera

git::configs:
  user.name: 'test'
  user.email: '[email protected]'
  core.filemode:
    value: false
    scope: system

If using the flat config syntax, options common to all items can be set:

git::configs:
  core.filemode: false
git::configs_defaults:
  scope: system

###I want to use git subtree with bash completion

include git::subtree

###I want to set my user.name and user.email

git::config { 'user.name':
  value => 'John Doe',
}

git::config { 'user.email':
  value => '[email protected]',
}

##Reference

###Classes

  • git: Installs the git client package.
  • gitosis: Installs the gitosis package. No configuration
  • subtree: Installs and configures git-subtree for git 1.7 and up.

###Resources

  • git::config: Set git global configuration for the user running puppet, for the specified $user or for the system.

###Facts

  • git_exec_path: Path to the directory containing all git-* commands.
  • git_version: Version of git that is installed. Undefined if not installed.

##Limitations

This module is known to work with the following operating system families:

  • RedHat 5, 6
  • Debian 6.0.7 or newer
  • Ubuntu 12.04 or newer

##Development

Puppet Labs modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. We can’t access the huge number of platforms and myriad of hardware, software, and deployment configurations that Puppet is intended to serve.

We want to keep it as easy as possible to contribute changes so that our modules work in your environment. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.

You can read the complete module contribution guide on the Puppet Labs wiki.

puppetlabs-git's People

Contributors

hunner avatar mcanevet avatar igalic avatar elyscape avatar mbrodala avatar petems avatar ghoneycutt avatar reidmv avatar ricoli avatar tphoney avatar davids avatar ccaum avatar bmjen avatar bvis avatar binford2k avatar cmurphy avatar cristifalcas avatar eputnam avatar jonnytdevops avatar czerasz avatar tfhartmann avatar me-coder avatar tdsparrow avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.