Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (42 sloc) 2.79 KB
"name": "ohai",
"description": "Distributes a directory of custom ohai plugins",
"long_description": "Description\n===========\n\nCreates a configured plugin path for distributing custom Ohai plugins, and reloads them via Ohai within the context of a Chef Client run during the compile phase.\n\nAttributes\n==========\n\n`node[:ohai][:plugin_path]` - location to drop off plugins directory, default is `/etc/chef/ohai_plugins`. This is not FHS-compliant, an FHS location would be something like `/var/lib/ohai/plugins`, or `/var/lib/chef/ohai_plugins` or similar.\n\nNeither an FHS location or the default value of this attribute are in the default Ohai plugin path. Set the Ohai plugin path with the config setting \"`Ohai::Config[:plugin_path`\" in the Chef config file. The attribute is not set to the default plugin path that Ohai ships with because we don't want to risk destroying existing essential plugins for Ohai.\n\nUsage\n=====\n\nPut the recipe `ohai` at the start of the node's run list to make sure that custom plugins are loaded early on in the Chef run and data is available for later recipes.\n\nThe execution of the custom plugins occurs within the recipe during the compile phase, so you can write new plugins and use the data they return in your Chef recipes.\n\nFor information on how to write custom plugins for Ohai, please see the Chef wiki pages.\n\n\n\nLicense and Author\n==================\n\nAuthor:: Joshua Timberman (<>)\n\nCopyright:: 2010, Opscode, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n",
"maintainer": "Opscode, Inc",
"maintainer_email": "",
"license": "Apache 2.0",
"platforms": {
"dependencies": {
"recommendations": {
"suggestions": {
"conflicting": {
"providing": {
"replacing": {
"attributes": {
"ohai/plugin_path": {
"display_name": "Ohai Plugin Path",
"description": "Distribute plugins to this path.",
"type": "string",
"required": "optional",
"default": "/etc/chef/ohai_plugins",
"choice": [
"calculated": false,
"recipes": [
"groupings": {
"recipes": {
"ohai::default": "Distributes a directory of custom ohai plugins"
"version": "1.0.0"