Skip to content

Instantly share code, notes, and snippets.

@chriskuehl
Created August 6, 2015 04:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chriskuehl/7b12d2a8aee95c7f4a6a to your computer and use it in GitHub Desktop.
Save chriskuehl/7b12d2a8aee95c7f4a6a to your computer and use it in GitHub Desktop.
[INFO] Initializing environment for /home/c/ck/ckuehl/ocf-proj/puppet-pre-commit-hooks.
An unexpected error has occurred: InvalidManifestError: Invalid content: ../../.pre-commit/repog3z3yk8_/hooks.yaml
'files' is a required property
Failed validating 'required' in schema['items']:
{'properties': {'args': {'default': [],
'items': {'type': 'string'},
'type': 'array'},
'description': {'default': '', 'type': 'string'},
'entry': {'type': 'string'},
'exclude': {'default': '^$', 'type': 'string'},
'expected_return_value': {'default': 0,
'type': 'number'},
'files': {'type': 'string'},
'id': {'type': 'string'},
'language': {'type': 'string'},
'language_version': {'default': 'default',
'type': 'string'},
'name': {'type': 'string'}},
'required': ['id', 'name', 'entry', 'language', 'files'],
'type': 'object'}
On instance[0]:
{'description': 'Validate syntax of Puppet manifests',
'entry': 'puppet-validate',
'id': 'puppet-validate',
'language': 'ruby',
'name': 'Validate Puppet manifests',
'types': ['puppet']}
Check the log at ~/.pre-commit/pre-commit.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment