Manage install of git package and include function like clone, pull or submodule
####Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with [Modulename]
##Overview This module manage installation of git. It work and it's tested on:
- Windows 7 (x86/x64) (only package install and git::clone define)
- Ubuntu 10.04 and earlier
##Module Description
- In a windows environment this module:
- download the installation file in a tmp_dir and, after, it installs it
- in a linux environment it use the package resource. Add a repository and install last version present
##Setup
- in windows parameter tmp_dir is mandatory:
- class{'git': tmp_dir => "C:\tmp_path"}
- in Ubuntu
- include git
###Setup Requirements in windows it require modules:
- softecspa/puppetlabs-powershell
- basti1302/puppet-windows-path
In Ubuntu it require modules:
- softecspa/apt
##Usage
###Ubuntu install git
include git
###Windows install git
class{'git': tmp_dir => 'C:\\tmp_path'}