Skip to content

puppet-parser-validate-action

Actions
GitHub Action to run puppet parser validate syntax check
5.5.19
Latest
Star (5)

GitHub Action for Puppet Parser Validate

This Action for the Puppet configuration management system enables you to syntax check your Puppet code.

Usage

An example workflow for syntax checking Puppet code is shown below. It will run the puppet parser validate command with the path to the files you want to test as args.

name: Puppet Parser Validate

on: [push]

jobs:
  puppet-parser-validate:

    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: puppet-parser-validate
      uses: irasnyd/puppet-parser-validate-action@master
      with:
        args: ./

If you wish to use a specific version, without needing to rebuild the container each time, you can use the version hosted on the Docker Hub.

For example:

name: Puppet Parser Validate

on: [push]

jobs:
  puppet-parser-validate:

    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: puppet-parser-validate
      uses: docker://irasnyd/puppet-parser-validate-action:5.5.19
      with:
        args: ./

License

The Dockerfile and associated scripts and documentation in this project are released under the MIT License.

Container images built with this project include third party materials. See THIRD_PARTY_NOTICE.md for details.

puppet-parser-validate-action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

GitHub Action to run puppet parser validate syntax check
5.5.19
Latest

puppet-parser-validate-action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.