| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
Don't enable packages plugin by default
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a hack. We can make this into a proper
DSL thing where specifying something like `default_enabled false`.
For now, this could be enabled through
```ruby
ohai[:plugins][:packages][:enabled] = true
```
|
|\ \
| |/
|/| |
Improve EC2 detection when hint isn't present
|
| | |
|
| |
| |
| |
| | |
This gives us amazon detect on VPC AWS Linux hosts.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Right now if there's no user data we're getting a no method exception:
[2016-02-01T20:27:33+00:00] DEBUG: Plugin EC2 threw #<NoMethodError: undefined method `encoding' for nil:NilClass>
[2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/plugins/ec2.rb:79:in `block (2 levels) in <main>'
[2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
[2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
[2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/dsl/plugin.rb:98:in `run'
[2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/dsl/plugin.rb:169:in `safe_run'
[2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/runner.rb:84:in `run_v7_plugin'
[2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/runner.rb:43:in `run_plugin'
[2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/system.rb:98:in `block in run_plugins'
[2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/system.rb:97:in `each'
[2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/system.rb:97:in `run_plugins'
[2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/system.rb:75:in `all_plugins'
[2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/application.rb:90:in `run_application'
[2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/application.rb:78:in `run'
[2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/bin/ohai:42:in `<top (required)>'
|
|\
| |
| | |
Prep for release 8.9.0
|
|/ |
|
| |
|
|\
| |
| | |
Add tests and queue_depth to block_device
|
| | |
|
|\ \
| | |
| | | |
Allow route table override
|
| | |
| | |
| | |
| | |
| | | |
* read default route table name from ohai plugin configuration
* default to `main` table to maintain current behavior
|
|\ \ \
| | | |
| | | | |
Add instance_id to rackspace plugin
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Adding a new "alpine" platform and platform_family
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Packages plugin
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
This packages plugin allows individuals to get a list of packages that
they have installed on the system.
It works on Debian,Fedora, and Windows systems.
|
|\ \ \ \
| | | | |
| | | | | |
Fix some lint cops:
|
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
1 Lint/EndAlignment
3 Lint/BlockAlignment
|
|\ \ \ \
| | | | |
| | | | | |
Update e-mails and copyrights
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Opscode -> Chef Sofware Inc. and bring all copyrights to current. End
the needed to keep editing these on every commit. Lets just get it over
with.
|
|\ \ \ \
| |/ / /
|/| | | |
Enable ChefStyle per RFC 64
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Fix detection of mac address on IPv6 only systems
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We were previously ignoring ipv6 routes because we expected all routes to
have a 'src' attribute. However, ipv6 uses an algorthim (RFC6724) to
select the source address rather than having it fixed in the route.
This change applies a different selection criteria for ipv6 routes, allowing
ipv6 only linux hosts with the 'ip' binary to make better choices about setting
ip6address and macaddress.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously we almost always set macaddress to the value from the interface we
took ipaddress from, unless we didn't get any ipaddress, at which point we
would accept the macaddress from the interface we took ip6address from.
We're seeing ipv6 only hosts now, we need to be able to take macaddress from
an ip6address interface if that's the most logical choice so we can ignore
loopback or random/meaningless virtual interfaces that don't go anywhere.
|
| | | | |
|
| | | | |
|
| | | | |
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
Create kernel[:processor] from uname -p output
|
|/ /
| |
| |
| |
| |
| |
| | |
An important distiction on solaris servers is x86 vs. sparc processor
architecture. Using uname -m to report the machine type does make that
distinction explicitly. The uname -p value is explicit about the
difference.
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Remove old cucumber tests
|
|/ /
| |
| |
| | |
These haven't been updated in 7 years and don't actually run
|
| | |
|