Coder Social home page Coder Social logo

anishsid / ohai Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chef/ohai

0.0 2.0 0.0 8.74 MB

Ohai profiles your system and emits JSON

Home Page: http://docs.chef.io/ohai.html

License: Apache License 2.0

Ruby 99.97% Batchfile 0.02% Shell 0.02%

ohai's Introduction

ohai

Build Status Master Build Status Master

DESCRIPTION:

Ohai detects data about your operating system. It can be used standalone, but its primary purpose is to provide node data to Chef.

Ohai will print out a JSON data blob for all the known data about your system. When used with Chef, that data is reported back via node attributes.

Chef distributes ohai as a RubyGem. This README is for developers who want to modify the Ohai source code. For users who want to write plugins for Ohai, see the docs:

DEVELOPMENT:

Before working on the code, if you plan to contribute your changes, you should read the contributing guidelines:

The basic process for contributing is:

  1. Fork this repo on GitHub.
  2. Create a feature branch for your work.
  3. Make your change, including tests.
  4. Submit a pull request.

ENVIRONMENT:

Ohai's development dependencies should be installed with bundler. Just run bundle install in the root of the repo.

Spec Testing:

We use RSpec for unit/spec tests. To run the full suite, run:

bundle exec rake spec

You can run individual test files by running the rspec executable:

bundle exec rspec spec/unit/FILE.rb

Rake Tasks

Ohai has some Rake tasks for doing various things.

rake -T
rake clobber_package  # Remove package products
rake gem              # Build the gem file ohai-$VERSION.gem
rake install          # install the gem locally
rake make_spec        # create a gemspec file
rake package          # Build all the packages
rake repackage        # Force a rebuild of the package files
rake spec             # Run specs

($VERSION is the current version, from the GemSpec in Rakefile)

LINKS:

Source:

Issues:

LICENSE:

Ohai - system information application

  • Author:: Adam Jacob ([email protected])
  • Copyright:: Copyright (c) 2008-2014 Chef Software, Inc.
  • License:: Apache License, Version 2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

ohai's People

Contributors

btm avatar danielsdeleo avatar adamhjk avatar lamont-granquist avatar thommay avatar llaurent avatar jaym avatar dougm avatar mcquin avatar tas50 avatar kisoku avatar sawanoboly avatar prabhu-das avatar schisamo avatar mdkent avatar jaymzh avatar javmorin avatar mattray avatar atomic-penguin avatar juliandunn avatar zuazo avatar ctennis avatar marcparadise avatar mvidner avatar hollow avatar nhuff avatar williamsjj avatar sax avatar glensc avatar martinisoft avatar

Watchers

James Cloos avatar Anish Sidhan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.