Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

puppet-lint-nine-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-nine-check

bundlerRubygems
Version
0.5.0
Version published
Maintainers
1
Created
Source

Overview

This linter will convert from legacy facts like $::nine_location or legacy hashed facts like $facts['nine_location'] to the new structured facts like $facts['nine_metadata']['location'].

Installing

From the command line

$ gem install puppet-lint-nine-check

In a Gemfile

gem 'puppet-lint-nine-check', :require => false

Disabling the check

To disable this check, you can add --no-nine to your puppet-lint command line.

$ puppet-lint --no-nine path/to/file.pp

Alternatively, if you’re calling puppet-lint via the Rake task, you should insert the following line to your Rakefile.

PuppetLint.configuration.send('disable_nine')

Alternatively, you can disable it directly in your puppet manifest.

# lint:ignore:nine
$package_name = $facts['operatingsystem'] {
  'CentOS' => 'httpd',
  'Debian' => 'apache2',
}
# lint:endignore

FAQs

Package last updated on 25 Jul 2024

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