🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

puppet-lint-roles_and_profiles-check

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

puppet-lint-roles_and_profiles-check

0.1.1
Rubygems
Version published
Maintainers
1
Created
Source

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 you 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 a new checks to puppet-lint.

node_definition

--fix support: No

This check will raise a warning is 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

FAQs

Package last updated on 18 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts