(#22233) Add support for Google Compute Engine into facter core#523
(#22233) Add support for Google Compute Engine into facter core#523erjohnso wants to merge 2 commits intopuppetlabs:masterfrom erjohnso:gce
Conversation
|
Waiting for CLA signature by @erjohnso @erjohnso - We require a Contributor License Agreement (CLA) for people who contribute to Puppet, but we have an easy click-through license with instructions, which is available at https://cla.puppetlabs.com/ Note: if your contribution is trivial and you think it may be exempt from the CLA, please post a short reply to this comment with details. http://docs.puppetlabs.com/community/trivial_patch_exemption.html |
|
Corporate CLA between Google and PuppetLabs has been signed and I believe On Tue, Aug 20, 2013 at 3:40 PM, puppetcla notifications@github.com wrote:
|
|
@erjohnso Thank you for contributing to Puppet! I went ahead and merged the code as-is, but I took the liberty of re-wording your commit message since it didn't really describe the behavior without this patch applied, why the behavior is a problem, and how the patch changes the behavior of Facter to address the problem. For future reference and as an example, here's the re-worded commit message: commit d7c863e |
|
summary: Merged into master as d1e8046. These new facts obtained from the Google Compute Engine metadata service will be available in Facter 1.8.0 or 2.0.0, whichever is released first. |
|
@erjohnso Shoot, it looks like this is causing test failures on Ruby 1.8.7 where the https://jenkins.puppetlabs.com/job/Facter%20Master/ruby=ruby-1.8.7,rvm=%23rvm/1387/console @zaphod42 @justinstoller Do either of you happen to know if we support the |
|
I don't know definitively how it should be, but the json gem is only required for :development or :test, prior to this commit. It looks like it was always guarded by a test for whether it was present prior to the GCE addition. |
|
@jeffmccune @zaphod42 @justinstoller Looking into this further with Ethan, this is spilling over into failures in puppet acceptance as well: See the puppet_manages_own_configuration_in_robust_manner.rb failure. I'm pretty sure the second failure is due to puppet group not being recreated, which is what the puppet_manges test was trying to do when it failed due to lack of json. |
|
@jeffmccune @zaphod42 @erjohnso I've added #524 as a possible fix for this. |
Add support into core for puppet nodes running in Google Compute Engine.