Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
share-2

GitHub Action

puppet-parser-validate-action

1.0

puppet-parser-validate-action

share-2

puppet-parser-validate-action

GitHub Action to run "puppet parser validate" syntax check

Installation

Copy and paste the following snippet into your .yml file.

              

- name: puppet-parser-validate-action

uses: irasnyd/[email protected]

Learn more about this action in irasnyd/puppet-parser-validate-action

Choose a version

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: ./

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.