
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
puppet-lint-roles-profiles
Advanced tools
This plugin validates that the code base adheres to the roles and profiles workflow[1].
To use this plugin, add the following line to the Gemfile in your Puppet code
base and run bundle install
.
gem 'puppet-lint-roles-profiles'
--fix-support: No
Will raise a warning if a roles does anything other than include
profile
s.
Resource like class definitions will also raise an error.
WARNING: roles must only include profiles
What you did:
class role::foo {
class { 'ssh': }
or:
class role::foo {
class { 'profile::ssh': }
}
What you should have done:
class role::foo {
include profile::ssh
}
--fix-support: No
Will raise a warning when a role has class parameters
Warning: roles must not have any parameters
--fix-support: No
Will raise a warning when a role inherits something other than a role
--fix-support: No
Will raise a warning when a node definition contains more than one role
include
(except comments).
[1] https://puppet.com/docs/pe/2017.2/r_n_p_full_example.html
FAQs
Unknown package
We found that puppet-lint-roles-profiles demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.