Skip to content

Commit e9ccdd2

Browse files
author
varac
committed
updated README.md with installation section
1 parent b9839da commit e9ccdd2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,19 @@ Current supported pre-receive (server side) checks
1919
* Erb template syntax
2020
* Puppet-lint
2121
* Yaml (hiera data) syntax
22+
23+
Installation
24+
============
25+
26+
Clone this repository
27+
28+
git clone https://github.com/pixelated-project/puppet-git-hooks.git
29+
30+
Go in the git hooks directory of you puppet git repository
31+
32+
cd <PATH_TO_YOUR_PUPPET_REPO>/.git/hooks
33+
34+
Create symlinks to the `pre-commit` file and the `commit_hooks` directory
35+
36+
ln -s <PATH_TO_PUPPET-GIT-HOOKS_REPO>/pre-commit
37+
ln -s <PATH_TO_PUPPET-GIT-HOOKS_REPO>/commit_hooks

0 commit comments

Comments
 (0)