- Description
- Setup - The basics of getting started with git
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
This is an all-inclusive Git management module. Manage the Git package as well as repos and config files.
If you're looking to get all the Git functionality you'll ever need, look no further.
Start with a basic class declaration to install and manage the Git package:
class { 'git': }
After intial declaration, add a configuration file:
git::config_file { '/home/user/.gitconfig':
user_email => '[email protected]',
user_name => 'User Smith',
aliases => [{'a' => 'add'}, {'co' => 'checkout'}]
}
-
manage_package
Boolean Defaults to true, manage the git package. -
package_ensure
ensure Defaults to present, used only ifmanage_package
is true -
package_name
String Defaults to 'git', used only ifmanage_package
is true
-
username
String Git user name -
email
String Specify user's email -
full_name
String Specify the user's name
-
config_file
String Defaults to $name, path to configuration file -
user
Git::User Pass in a user resource -
aliases
Array An array of hashes for git aliases
Currently this module has only been verified on Ubuntu 14.04
Please feel free to submit issues and PRs at www.github.com/eputnam/eputnam-git