kahun/ohai-plugins is an open-source project on GitHub with 1 stars, written primarily in Ruby.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
This repo contains plugins for Opscode's Ohai tool. Many of these plugins are provided in a self-contained Ohai package called ohai-solo.
##Writing Ohai Plugins
####Using Vagrant
Using Vagrant, you can easily create new/modify Ohai plugins in the /plugins directory and test them on an Ubuntu 12.04 system.
vagrant up
vagrant ssh
/opt/ohai-solo/bin/ohai -d /vagrant/plugins
This command runs Ohai and tells it to use the plugins located in this repo.
Ohai-Solo
Ohai-Solo is a package that contains an embedded version of Ruby 1.9.3, Ohai, and the plugins from this repo. Packages are built using Opscode's Omnibus system. You can find the Omnibus build environment for Ohai-Solo here.
Packages are currently provided/tested for these distributions:
To use ohai-solo, grab the latest package for your distribution by querying the list of packages (this example uses HTTPie - if you don't have it, you should):
You can also request the latest package for your distribution by querying http://ohai.rax.io/latest.<platform>.<platform_version>.<arch>.json. For example:
This will install ohai-solo to /opt/ohai-solo. Simply run ohai-solo to get all output.
###Contributing:
If you would like to contribute an Ohai plugin to this project, add the plugin
to the plugins directory. Then write a serverspec
test in test/integration/ohaiplugins/serverspec/localhost/ that tests your plugin.
To run tests we will assume you are using bundler:
bundle install --binstubs
There is a provided .kitchen.rackspace.yml file if you prefer to use Rackspace
Performance Cloud Servers for testing instead of Vagrant. To use this workflow,
copy .kitchen.rackspace.yml to .kitchen.local.yml and provide the appropriate
environment variables.
Once setup, run bundle exec kitchen test to test all OS's or run
bundle exec kitchen test <distro>. Use bundle exec kitchen list to see all
possibilities.
No homepage URL was recorded for kahun/ohai-plugins in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
Is kahun/ohai-plugins open source?
TopGit's metadata for kahun/ohai-plugins does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
What is kahun/ohai-plugins?
kahun/ohai-plugins (kahun/ohai-plugins) is a Ruby project tracked by TopGit. The repository has 1 GitHub stars at the time of our last sync.
Where do I read more about kahun/ohai-plugins?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/kahun/ohai-plugins is the definitive source.
Read full README in the tab above.
Curious whether ohai-plugins is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about ohai-plugins.