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

vagrant-ohai2

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vagrant-ohai2

  • 0.1.15
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Vagrant::Ohai2

This is a vagrant plugin which installs an Ohai2 plugin providing network information to Chef. In particular, the ipaddress is set to the private network defined in vagrant, if one is present.

This is a fork of Avishai Ish-Shalom.

Installation

vagrant plugin install vagrant-ohai2

Usage

The plugin will automatically activate when using the :chef_solo, :chef_zero, :chef_apply, :chef_client or :shell provisioners. If you want to disable it, put config.ohai2.enable = false in your Vagrantfile. If you wish to use a primary nic which is not a private network, e.g. when using a bridge, set the primary_nic option:

config.ohai2.primary_nic = "eth1"

To activate custom plugin support put config.ohai2.plugins_dir = <full_path_to_plugins_dir> in your Vagrantfile

config.ohai2.plugins_dir = "/var/ohai2/custom_plugins"

Compatibility

This plugin works with Vagrant 1.2.3 and above.

It has only been tested on VirtualBox but should also work with other Vagrant providers.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

FAQs

Package last updated on 26 Sep 2018

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