ghomem / puppet_infrastructure

Opinionated automations for building Linux based infrastructure
GNU General Public License v3.0
4 stars 0 forks source link

README

Common baseline Puppet Classes

What is this repository for?

Common baseline Puppet Classes that automate Linux infrastructure.

What is the License?

GPLv3 as defined on the LICENSE file.

Contribution guidelines

How do I install the pre-commit hook?

Install puppet-lint from the repository:

sudo apt-get install puppet-lint

In principle you already have ruby installed but if not you can do:

sudo apt-get install ruby

Clone the repository and change to its directory, then create a symlink to the pre-commit script:

cd .git/hooks/ && ln --symbolic --verbose --interactive ../../pre-commit pre-commit ; cd ../..