No commit activity in last 3 years
No release in over 3 years
A puppet-lint plugin to check that: - a node definition declares only a role, - a role class does not have any param and only declares profiles, - a profiles class can declare anything but a role.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

< 3.0, >= 1.0
 Project Readme

puppet-lint roles and profiles check

Adds a new puppet-lint plugin to verify that your code matches Roles & Profiles paradigm. This plugin assumes that your role classes starts with ̀rolesand your profiles classes starts with profiles.

Installation

To use this plugin, add the following line to the Gemfile in your Puppet code base and run bundle install.

gem 'puppet-lint-roles_and_profiles-check'

Usage

This plugin provides new checks to puppet-lint.

node_definition

--fix support: No

This check will raise a warning if your node definition does not contain only a role declaration.

WARNING: expected only one role declaration

roles_class_params

--fix support: No

This check will raise a warning for any parameter in your role definition.

WARNING: expected no class parameters

roles_resource_declaration

--fix-support: No

This check will raise a warning for any resource declaration in you role defintion that is not a profile class.

WARNING: expected no resource declaration