https://github.com/rubiojr/ohai-plugins
Custom ohai plugins
https://github.com/rubiojr/ohai-plugins
Last synced: 2 months ago
JSON representation
Custom ohai plugins
- Host: GitHub
- URL: https://github.com/rubiojr/ohai-plugins
- Owner: rubiojr
- Created: 2009-09-16T15:56:14.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2009-09-29T09:23:14.000Z (over 15 years ago)
- Last Synced: 2025-03-28T00:05:09.898Z (3 months ago)
- Language: Ruby
- Homepage:
- Size: 78.1 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Configuring chef-client to load custom ohai-plugins:
1. edit /etc/chef/client.rb
2. add the following line to the end of the file:Ohai::Config[:plugin_path] << '/etc/ohai/plugins' #you can choose any path you want
3. add your custom plugins there (i.e. /etc/ohai/plugins)
4. reload the client:
/etc/init.d/chef-client restart