What version of facter? I'm not producing the error from 1.5.0 through 1.5.9 (did not have to pass -t).
Thanks, Nan On Thu, Jun 23, 2011 at 8:03 PM, Nathan Clemons <[email protected]> wrote: > Sounds like a bug with facter handling headless running where a TTY is not > allocated (thus the error about $TERM not being set). > -- > Nathan Clemons > http://www.livemocha.com > The worlds largest online language learning community > > > On Thu, Jun 23, 2011 at 7:56 PM, josbal <[email protected]> wrote: >> >> Hi Den, >> >> ssh -t seems to not produce the tput errors. >> >> But how come these tput errors are only presented when running facter >> command, and no others? >> >> Cheers, >> Josh >> >> On Jun 24, 8:17 am, Denmat <[email protected]> wrote: >> > Hi, >> > Haven't tested but what does ssh -t server2 .... give you? >> > >> > Cheers >> > Den >> > >> > On 24/06/2011, at 7:51, josbal <[email protected]> wrote: >> > >> > >> > >> > >> > >> > >> > >> > > No one has seen this issue before? >> > >> > > On Jun 23, 3:08 pm, josbal <[email protected]> wrote: >> > >> Hi Guys, >> > >> > >> Not sure if this issue is a facter one or not, but thought i might >> > >> post here to see if anyone else has had the same issue. >> > >> > >> When executing facter command on remote ssh server, i am getting tput >> > >> errors. However when running any other command on this same remote >> > >> ssh >> > >> server, the tput errors do not occur. >> > >> > >> [user@server1 ~]$ ssh server2 'facter hostname' >> > >> tput: No value for $TERM and no -T specified >> > >> tput: No value for $TERM and no -T specified >> > >> tput: No value for $TERM and no -T specified >> > >> tput: No value for $TERM and no -T specified >> > >> server2 >> > >> > >> If i run facter locally on the remote server, there are no tput >> > >> errors. >> > >> > >> [user@server2 ~]$ facter hostname >> > >> server2 >> > >> > >> In googling the errors, there are a lot of recommendations to check >> > >> profile scripts, etc, but the errors only occur with facter via ssh, >> > >> not any other commands and i can't see any references to tput in the >> > >> profile scripts? >> > >> > >> Does anyone have any ideas as to what could be causing this issue and >> > >> how to fix? >> > >> > > -- >> > > You received this message because you are subscribed to the Google >> > > Groups "Puppet Users" 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 >> > > athttp://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 [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-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 [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-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 [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-users?hl=en.
