summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make ohai work with Chef 12.7 and belowjk/chef-12.7John Keiser2016-03-091-1/+7
|
* Merge pull request #736 from tas50/to_gce_or_not_to_gceTim Smith2016-03-082-15/+24
|\ | | | | Update GCE metadata API version and fail better
| * Fix GCE specs and chefstyleTim Smith2016-02-262-8/+9
| |
| * Update GCE metadata API version and fail betterTim Smith2016-02-151-8/+16
| | | | | | | | | | Use the non-beta metadata URL. This requires setting the header on all requests so there's a bit of changes to how the http connection is initialized Fail better if the google internal DNS name can't be resolved
* | Merge pull request #760 from tas50/solaris_needs_virt_loveTim Smith2016-03-083-32/+33
|\ \ | | | | | | Improve virtualization detection on Solaris
| * | Fixup the existing testsTim Smith2016-03-072-9/+11
| | | | | | | | | | | | We'll want a few more tests to be added here
| * | Use the node[:virtualization][:systems] format everywhereTim Smith2016-03-071-1/+4
| | |
| * | Use the dmi_decode mixin to detect virtualization systemsTim Smith2016-03-071-17/+13
| | | | | | | | | | | | This way anything we add for Linux will automatically get added to Solaris as well. We're already using this in *BSD as well. This will add Hyper-V, KVM, Xen, VirtualServer, VirtualBox, and Openstack detection. Not bad for a net reduction in code.
| * | Update the DMI decode mixin for SolarisTim Smith2016-03-071-2/+2
| | | | | | | | | | | | Linux / BSD use 'Product Name:' while Solaris uses 'Product:' Product.*: should be just fine
| * | Detect additional paravirt KVM cpu stringsTim Smith2016-03-071-3/+3
| | | | | | | | | | | | Copy and past from Linux Virtualization plugin
* | | Merge pull request #756 from tas50/freebsd_virtualizationTim Smith2016-03-082-4/+101
|\ \ \ | | | | | | | | Improve FreeBSD guest virtualization detection
| * | | Detect guests via sysctl -n kern.vm_guest on FreeBSDTim Smith2016-03-072-2/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) This gives us detection of bhyve guests 2) This works when dmidecode isn't installed, which is most of the time 3) This looks at more than just DMI data. They're also looking at detailed CPU data to determine hyper-v and vmware.
| * | | Detect bhyve hosts via /dev/vmmTim Smith2016-03-072-4/+23
| | | |
| * | | Add debug logging outputTim Smith2016-03-072-2/+9
| | | |
| * | | A host with jails in dying state is still a jail hostTim Smith2016-03-071-1/+4
| |/ /
* | | Merge pull request #755 from tas50/virsh_sounds_like_a_bad_wordTim Smith2016-03-081-12/+5
|\ \ \ | | | | | | | | Remove XML output in VirtualizationInfo and need for hpricot gem
| * | | VirtualizationInfo plugin cleanupTim Smith2016-03-021-12/+5
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an early plugin that hasn't received any work since it's creation. I seriously doubt anyone is using it, but this provides some minor cleanup 1) remove the hpricot dependency and all the commented out hpricot code. This plugin would fail unless it was installed, but it's not actually used 2) Stop storing XML data on the node. This is a horrible horrible thing to do. We're storing the exact same data in JSON. Why 2 formats? 3) Change the debug message to make it clean what plugin fails if the gems aren't there 4) Add a comment telling anyone reading this what gem to use. The libvirt gem is deprecated and fails to load. It's a bummer we need this gem to use this because the data is actually pretty useful once it's loaded, but I doubt anyone installs the gem.
* | | Merge pull request #751 from tas50/private_clouds_4_lifeTim Smith2016-03-084-1/+32
|\ \ \ | | | | | | | | Detect Openstack hosts
| * | | Add debug output to the which helperTim Smith2016-03-012-1/+6
| | | |
| * | | Resolve Chefstyle warningsTim Smith2016-03-012-3/+3
| | | |
| * | | Detect openstack hosts by nova binaryTim Smith2016-03-012-0/+26
| | | |
* | | | Merge pull request #750 from tas50/kvm_it_upTim Smith2016-03-082-18/+29
|\ \ \ \ | |/ / / | | | | Improve KVM host and guest detection
| * | | Differentiate between KVM guests and hostsTim Smith2016-03-012-4/+20
| | | | | | | | | | | | | | | | This has been confirmed using an Openstack guest and host
| * | | Fix failing testTim Smith2016-02-291-1/+2
| | | |
| * | | Comment cleanupTim Smith2016-02-291-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | virtualization[:mechanism] would have been great, but we didn't setup the data structure right for this to work hypervisor flag is present anywhere the guest has a hypervisor. It's not just a Xen thing If we find KVM CPUs we're on an old paravirt box and BTMs request for info from 2009 is probably not going to get answered. Sorry BTM
| * | | Replace unreliable host KVM detection with better guest detectionTim Smith2016-02-292-11/+13
| |/ / | | | | | | | | | This will detect hvm KVM guests
* | | Merge pull request #766 from davide125/sessionsPhil Dibowitz2016-03-082-0/+152
|\ \ \ | | | | | | | | add plugin to detect user sessions using loginctl
| * | | Revert "use shell_out!"Davide Cavalca2016-03-082-3/+2
| | | | | | | | | | | | | | | | This reverts commit f5f0e2985f021997d4cdedc683cd77635032e578.
| * | | use shell_out!Davide Cavalca2016-03-082-2/+3
| | | |
| * | | do not create mash until after the shelloutDavide Cavalca2016-03-072-3/+2
| | | |
| * | | add plugin to detect user sessions using loginctlDavide Cavalca2016-03-072-0/+153
| | | |
* | | | Fix change logTim Smith2016-03-081-2/+0
| | | | | | | | | | | | These were issues that were closed without code changes. They shouldn't be in the changelog.
* | | | Bump version to 8.11.1v8.11.1jk/bump-versionjk/8.11.1John Keiser2016-03-072-4/+7
| | | |
* | | | Merge pull request #764 from tas50/rackspace_isnt_ec2Tim Smith2016-03-073-5/+21
|\ \ \ \ | | | | | | | | | | Handle mis-identifying Rackspace as EC2 better
| * | | | Lower the read timeout to 30sTim Smith2016-03-071-1/+1
| | | | |
| * | | | Handle mis-identifying ec2 betterTim Smith2016-03-072-4/+20
| | |_|/ | |/| | | | | | | | | | | | | | Always try the quick to timeout socket "can_connect_metadata?" method if we think we're on EC2. We're often wrong If we find the ec2_metadata_bin file also make sure we don't have a Rackspace monitoring binary since Rackspace ships the EC2 binary
* | | | Merge pull request #765 from tas50/fix_it_maybeThom May2016-03-071-1/+1
|\ \ \ \ | | | | | | | | | | Add back the pin to github changelog generator
| * | | | Add back the pin to github changelog generatorTim Smith2016-03-071-1/+1
| |/ / / | | | | | | | | | | | | Lets see if it installs now
* | | | Merge pull request #754 from tas50/ruby_plus_plusThom May2016-03-071-0/+2
|\ \ \ \ | | | | | | | | | | Test on Ruby 2.0 and 2.3.0
| * | | | Test on Ruby 2.0 and 2.3.0Tim Smith2016-03-021-0/+2
| | |_|/ | |/| |
* | | | Merge pull request #753 from tas50/the_issue_at_handThom May2016-03-071-0/+18
|\ \ \ \ | | | | | | | | | | Add issue template for Github
| * | | | Add issue template for GithubTim Smith2016-03-021-0/+18
| |/ / /
* | | | Merge pull request #747 from chef/jdm/escape-dir-globThom May2016-03-072-1/+3
|\ \ \ \ | |_|/ / |/| | | Use escape_glob_dir instead of escape_glob
| * | | Test with ruby 2.2jdm/escape-dir-globJay Mundrawala2016-02-261-0/+1
| | | |
| * | | Test with ruby 2.1 on WindowsJay Mundrawala2016-02-261-0/+1
| | | |
| * | | Use escape_glob_dir instead of escape_globJay Mundrawala2016-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For ruby >= 2.2, Dir.glob behaves differently than ruby 2.0 and breaks in more places when backslashes are used when globbing. This means that Windows is sad and will not load any plugins with Ruby >= 2.2 in a lot of cases. This is the safest thing to do because it will use forward slashes.
* | | | Merge pull request #735 from ctso/ctso/fix-digital-oceanThom May2016-03-072-1/+4
|\ \ \ \ | | | | | | | | | | Fix digital ocean ip address detection
| * | | | Fix digitalocean specChris Soyars2016-02-121-1/+1
| | | | |
| * | | | Fix digital ocean ip address detectionChris Soyars2016-02-122-1/+4
| | |/ / | |/| | | | | | | | | | | | | | IpHelper's loopback? method fails when you pass it a MAC address, so we should check for this first
* | | | Merge pull request #761 from tas50/bundle_me_brokenThom May2016-03-071-0/+2
|\ \ \ \ | | | | | | | | | | Update bundler in travis to fix broken builds