Issue #8140 has been updated by James Turnbull.

Status changed from In Topic Branch Pending Merge to Closed

Merged.
----------------------------------------
Bug #8140: CloudPack fog validation instructions are wrong
https://projects.puppetlabs.com/issues/8140

Author: Jeff McCune
Status: Closed
Priority: Normal
Assignee: Nick Fagerlund
Category: 
Target version: 
Keywords: cloudpack
Branch: ticket/master/8140_fog_validation
Affected URL: 


# Overview #

The instructions to validate if fog is properly configured or not appear to be 
wrong.



I have my AWS keys properly configured in ~/.fog and I get back these results:

<pre>
$ ruby -rubygems -e 'require "fog"' -e 'puts Fog::Compute.new(:provider => 
"AWS").servers.length > 0'
false
</pre>

The instructions say this should return true.

I don't have any servers booted in EC2 though, so I suspect this is why I'm 
getting false:

<pre>
$ irb 
ruby-1.8.7-p334 :001 > require 'rubygems'
 => false 
ruby-1.8.7-p334 :002 > require 'fog'
 => true 
ruby-1.8.7-p334 :003 > Fog::Compute.new(:provider => "AWS").servers
 =>   Fog::Compute::AWS::Servers
    filters{}
    []
</pre>

The document revision I uncovered this issue on is at 
[cloud_pack_getting_started.markdown](https://github.com/puppetlabs/puppet-docs/blob/068c4c45c3eb5084343cea06ce9fce531eb61e94/source/guides/cloud_pack_getting_started.markdown)



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to