Giter VIP home page Giter VIP logo

puppet-git's Introduction

Git Puppet Module for Boxen

Build Status

Install Git, a stupid content tracker.

Usage

include git

git::config::local { 'repo_specific_email':
  ensure => present,
  repo   => '/path/to/my/repo',
  key    => 'user.email',
  value  => '[email protected]'
}

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

Required Puppet Modules

  • boxen
  • homebrew
  • ini_setting

Development

Write code. Run script/cibuild to test it. Check the script directory for other useful tools.

Hiera configuration

The following variables may be automatically overridden with Hiera:

---
git::configdir: "%{::boxen::config::configdir}/git"

git::package: 'boxen/brews/git'
git::version: '1.8.4-boxen2'

git::credentialhelper: "%{::boxen::config::repodir}/script/boxen-git-credential"
git::global_credentialhelper: "%{boxen::config::home}/bin/boxen-git-credential"
git::global_excludesfile: "%{hiera('git::configdir')}/gitignore"

It is required that you include ripienaar/puppet-module-data in your boxen project, as this module now ships with many pre-defined configurations in the data/ directory. With this module included, those definitions will be automatically loaded, but can be overridden easily in your own hierarchy.

You can also use JSON if your Hiera is configured for that.

puppet-git's People

Contributors

wfarr avatar rafaelfranca avatar tarebyte avatar timtim123456 avatar bleything avatar wolfd avatar fromonesrc avatar mroth avatar craigw avatar dgoodlad avatar createdbypete avatar jbarnette avatar radeksimko avatar orien avatar tecnobrat avatar condemil avatar ericanderson avatar dishwasha avatar herkolategan avatar britto avatar jspahrsummers avatar pfista avatar mikemcquaid avatar zerowidth avatar seanknox avatar

Watchers

James Cloos avatar  avatar  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.