John, thanks for the reply. You know how it is, you attache the output -> "I don't want to analyze your transcripts", you don't attach them -> 'Please attach the output otherwise we can't help you'... Well, let's move on, shall we.
As described on top of the post the issue lies with specifically the EC2 facts. It just seems strange to me that if I run 'facter -p' as non-root and as root user that i get different output. Now I see your point with the access rights, etc. The funny thing is though that I get *more* output as non-root user than as root user, in my case I get the EC2 facts when not root. Btw. testing a curl on http://169.254.169.254/latest/user-data/ as root clearly shows the data. AND interestingly if you now look at the transcripts ;) as non-root user it even complains about a 404 on that address (No user-data present at http://169.254.169.254/latest/user-data/: server responded with 404 Not Found) while then still showing the EC2 facts. So this is the core of the problem. I'd be interested in hearing about whether this might be a known issue, something new or whether I'm on the completely wrong track here because I forgot something very obvious and stupid. I'm open to suggestions and helpful input and will be the first to admit if I made a stupid mistake. I'm just really hoping that some of you master Puppet/Facter folk have an idea what is going on here. Thanks! On Friday, October 11, 2013 6:53:41 AM UTC-7, jcbollinger wrote: > > > > On Thursday, October 10, 2013 9:41:50 AM UTC-5, Bernd Weber wrote: >> >> Anybody? >> > > I'm not particularly interested in analyzing your transcripts to identify > the differences. Would you care to clue us in? > > In any event, facter output may differ for different users for at least > these reasons: > > - Facter determines some fact values by running commands, and some > commands it runs may require privilege to work correctly > - Facter may determine some fact values by reading files, and to do so > successfully it must have access to those > - The external commands Facter runs, and Facter itself, may be > influenced by the execution environment, such as environment variables and > the executable search path > > > John > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
