All Projects → chef → Ohai

chef / Ohai

Licence: apache-2.0
Ohai profiles your system and emits JSON

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Ohai

Dynaconf
Configuration Management for Python ⚙
Stars: ✭ 2,082 (+224.8%)
Mutual labels:  hacktoberfest, configuration-management, configuration
Centraldogma
Highly-available version-controlled service configuration repository based on Git, ZooKeeper and HTTP/2
Stars: ✭ 378 (-41.03%)
Mutual labels:  configuration-management, configuration
Openwisp Config
OpenWRT configuration agent for OpenWISP Controller
Stars: ✭ 375 (-41.5%)
Mutual labels:  hacktoberfest, configuration-management
Agileconfig
基于.NET Core开发的轻量级分布式配置中心 / .NET Core light configuration server
Stars: ✭ 403 (-37.13%)
Mutual labels:  configuration-management, configuration
Environs
simplified environment variable parsing
Stars: ✭ 631 (-1.56%)
Mutual labels:  hacktoberfest, configuration
Icingaweb2 Module Director
The Director aims to be your new favourite Icinga config deployment tool. Director is designed for those who want to automate their configuration deployment and those who want to grant their “point & click” users easy access to the configuration.
Stars: ✭ 359 (-43.99%)
Mutual labels:  configuration-management, configuration
Conform
Easy, powerful, and extendable configuration tooling for releases.
Stars: ✭ 384 (-40.09%)
Mutual labels:  configuration-management, configuration
Postgresql
Development repository for the postgresql cookbook
Stars: ✭ 326 (-49.14%)
Mutual labels:  hacktoberfest, chef
Jenkins
Development repository for the jenkins cookbook
Stars: ✭ 416 (-35.1%)
Mutual labels:  hacktoberfest, chef
Koanf
Light weight, extensible configuration management library for Go. Built in support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
Stars: ✭ 450 (-29.8%)
Mutual labels:  configuration-management, configuration
Aws
Development repository for the aws cookbook
Stars: ✭ 473 (-26.21%)
Mutual labels:  hacktoberfest, chef
Php
Development repository for the php cookbook
Stars: ✭ 347 (-45.87%)
Mutual labels:  hacktoberfest, chef
Ruby rbenv
Development repository for the ruby_rbenv cookbook
Stars: ✭ 339 (-47.11%)
Mutual labels:  hacktoberfest, chef
Java
Development repository for the java cookbook
Stars: ✭ 365 (-43.06%)
Mutual labels:  hacktoberfest, chef
Mysql
Sous Chefs MySQL Cookbook
Stars: ✭ 325 (-49.3%)
Mutual labels:  hacktoberfest, chef
Openwisp Controller
Network and WiFi controller: provisioning, configuration management and updates, (pull via openwisp-config or push via SSH), x509 PKI management and more. Mainly OpenWRT, but designed to work also on other systems.
Stars: ✭ 377 (-41.19%)
Mutual labels:  hacktoberfest, configuration-management
Rvm
Development repository for the rvm cookbook
Stars: ✭ 525 (-18.1%)
Mutual labels:  hacktoberfest, chef
Duic
分布式配置中心,集中化配置管理,应用配置权限管理,配置实时更新等功能
Stars: ✭ 289 (-54.91%)
Mutual labels:  configuration-management, configuration
Redisio
Development repository for the redisio cookbook
Stars: ✭ 296 (-53.82%)
Mutual labels:  hacktoberfest, chef
Anyway config
Configuration library for Ruby gems and applications
Stars: ✭ 409 (-36.19%)
Mutual labels:  hacktoberfest, configuration

ohai

Build status Gem Version

Umbrella Project: Chef Infra

Project State: Active

Issues Response SLA: 10 business days

Pull Request Response SLA: 10 business days

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 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

Style

We use Chefstyle, as a code linter, to enforce style guidelines. To run:

bundle exec rake style

You can run and automatically correct the issues:

bundle exec rake style:auto_correct

Rake Tasks

Ohai has some Rake tasks for doing various things.

bundle exec rake -T
rake build               # Build ohai-$VERSION.gem into the pkg directory
rake clean               # Remove any temporary products
rake clobber             # Remove any generated files
rake install             # Build and install ohai-$VERSION.gem into system gems
rake install:local       # Build and install ohai-$VERSION.gem into system gems without network access
rake release[remote]     # Create tag $VERSION and build and push ohai-$VERSION.gem to rubygems.org
rake spec                # Run RSpec code examples
rake style               # Run Chefstyle tests
rake style:auto_correct  # Auto-correct RuboCop offenses

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

Links

Source:

Issues:

Contributing

For information on contributing to this project see https://github.com/chef/chef/blob/master/CONTRIBUTING.md

  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. Run the tests bundle exec rake spec
  5. Run the style tests bundle exec rake style
  6. Push to the branch (git push origin my-new-feature)
  7. Create new Pull Request

License

Ohai - system information application

  • Author:: Adam Jacob ([email protected])
  • Copyright:: Copyright (c) 2008-2020 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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].