Skip to content

Instantly share code, notes, and snippets.

@mattfinlayson
mattfinlayson / pre-commit.sh
Created July 12, 2017 17:46
Puppet pre-commit hook
#!/bin/bash
# pre-commit git hook to check the validity of a puppet manifest
#
# Prerequisites:
# gem install puppet-lint puppet
#
# Install:
# /path/to/repo/.git/hooks/pre-comit
# Source RVM if needed
@mattfinlayson
mattfinlayson / pre-commit.sh
Created July 12, 2017 17:46
Puppet pre-commit hook
#!/bin/bash
# pre-commit git hook to check the validity of a puppet manifest
#
# Prerequisites:
# gem install puppet-lint puppet
#
# Install:
# /path/to/repo/.git/hooks/pre-comit
# Source RVM if needed

Keybase proof

I hereby claim:

  • I am mattfinlayson on github.
  • I am mattfinlayson (https://keybase.io/mattfinlayson) on keybase.
  • I have a public key whose fingerprint is 7BE1 BC3D F693 8233 6164 D983 3F11 5CCE F135 125C

To claim this, I am signing this object:

Contributor License Agreement (“CLA”)
1. Definitions
1.1 "You" (or "Your") shall mean the copyright owner or legal entity
authorized by the copyright owner that is making this CLA with Cloudability
Inc. (“Cloudability”). For legal entities, the entity making a Contribution
and all other entities that control, are controlled by, or are under common
control with that entity are considered to be a single Contributor. For the
purposes of this definition, "control" means (i) the power, direct or