Hello... Maybe I am missing something, but I am not getting any ec2_ facts on an ec2 instance. My current testbed is a centos 5.5 server with facter 1.5.8 via epel. ( also broken on at least one of my Ubuntu tests also ) This made it work: #if can_connect?("169.254.169.254","80") metadata #end but that is obviously not the correct solution. Is this broken in facter 1.5.8 or am I missing something? thanks -- Christopher McCrory To the optimist, the glass is half full. To the pessimist, the glass is half empty. To the engineer, the glass is twice as big as it needs to be. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at groups.google.com/group/puppet-users?hl=en.
Hi, as far as I can remember this has always been the case with the ec2 facter fact. :/ Bearnard. On Mon, Nov 1, 2010 at 8:27 PM, Christopher McCrory <chrismcc@gmail.com> wrote:> Hello... > > Maybe I am missing something, but I am not getting any ec2_ facts on an > ec2 instance. My current testbed is a centos 5.5 server with facter > 1.5.8 via epel. ( also broken on at least one of my Ubuntu tests also ) > > This made it work: > > #if can_connect?("169.254.169.254","80") > metadata > #end > > but that is obviously not the correct solution. > > > Is this broken in facter 1.5.8 or am I missing something? > > thanks > > > > > -- > Christopher McCrory > To the optimist, the glass is half full. > To the pessimist, the glass is half empty. > To the engineer, the glass is twice as big as it needs to be. > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at groups.google.com/group/puppet-users?hl=en.
Hi, I think this could be the related issue. projects.puppetlabs.com/issues/2346 Bearnard. On Mon, Nov 1, 2010 at 8:56 PM, Bearnard Hibbins <bearnard@gmail.com> wrote:> Hi, > > as far as I can remember this has always been the case with the ec2 > facter fact. :/ > > Bearnard. > > On Mon, Nov 1, 2010 at 8:27 PM, Christopher McCrory <chrismcc@gmail.com> wrote: >> Hello... >> >> Maybe I am missing something, but I am not getting any ec2_ facts on an >> ec2 instance. My current testbed is a centos 5.5 server with facter >> 1.5.8 via epel. ( also broken on at least one of my Ubuntu tests also ) >> >> This made it work: >> >> #if can_connect?("169.254.169.254","80") >> metadata >> #end >> >> but that is obviously not the correct solution. >> >> >> Is this broken in facter 1.5.8 or am I missing something? >> >> thanks >> >> >> >> >> -- >> Christopher McCrory >> To the optimist, the glass is half full. >> To the pessimist, the glass is half empty. >> To the engineer, the glass is twice as big as it needs to be. >> >> -- >> You received this message because you are subscribed to the Google Groups "Puppet Users" group. >> To post to this group, send email to puppet-users@googlegroups.com. >> To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. >> For more options, visit this group at groups.google.com/group/puppet-users?hl=en. >> >> >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at groups.google.com/group/puppet-users?hl=en.