Skip to content

Commit

Permalink
updated README.md with installation section
Browse files Browse the repository at this point in the history
  • Loading branch information
varac committed Mar 17, 2015
1 parent b9839da commit e9ccdd2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,19 @@ Current supported pre-receive (server side) checks
* Erb template syntax
* Puppet-lint
* Yaml (hiera data) syntax

Installation
============

Clone this repository

git clone https://github.com/pixelated-project/puppet-git-hooks.git

Go in the git hooks directory of you puppet git repository

cd <PATH_TO_YOUR_PUPPET_REPO>/.git/hooks

Create symlinks to the `pre-commit` file and the `commit_hooks` directory

ln -s <PATH_TO_PUPPET-GIT-HOOKS_REPO>/pre-commit
ln -s <PATH_TO_PUPPET-GIT-HOOKS_REPO>/commit_hooks

0 comments on commit e9ccdd2

Please sign in to comment.