Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

puppet-ec2_facts-check

Build Status Gem Version Gem Downloads Coverage Status Gemnasium

A puppet-lint plugin to check for old ec2_* facts.

Installing

From the command line

$ gem install puppet-ec2_facts-check

In a Gemfile

gem 'puppet-ec2_facts-check', :require => false

Checks

Old ec2_ fact used

The old ec2\_\* facts are not available anymore in facter3 and thus should not be used anymore. You should you the new ec2_metadata fact.

What you have done
notice($::ec2_public_hostname)
What you should have done
notice($::ec2_metadata['hostname'])
Disabling the check

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

$ puppet-lint --no-ec2_facts-check 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_ec2_facts')

FAQs

Package last updated on 05 Nov 2015

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc