tpkg / client

tpkg client code
MIT License
5 stars 7 forks source link

Tpkg send_update_to_server breaks on #31

Closed pjaol closed 12 years ago

pjaol commented 12 years ago

Facter['fqdn'] can fail on cygwin, or hosts with a non-fqdn hostname and throw a 500 error on the reporting server.

pjaol commented 12 years ago

Facter['fqdn'] will fail on cygwin, when sending an update to the reporting server Causing a 500 error on the reporting server as the client parameter is nil

Attached is a patch that fails back to using %x[hostname] Facter['domain'] is Facter['fqdn'] is nil

jheiss commented 12 years ago

Patch applied