caktus / django-project-template

Django project template for startproject (Requires 2.2+)
209 stars 53 forks source link

Use fqdn grain for finding hostnames. #264

Closed kmtracey closed 8 years ago

kmtracey commented 8 years ago

This is somewhat more likely to work. The old ping variant is not working on recent EC2-based project where it's coming up with the internal hostname which is not helpful in getting manage_run to work.

vkurup commented 8 years ago

Looks like this will fix #247. I tested it on a Linode instance (staging.epicallies) and it worked as well. :shipit:

kmtracey commented 8 years ago

FWIW I also tried this variant on a Digitial Ocean project and it worked there. Mark notes the fqdn value may not work in some cases (machines on private subnet) but it seems to work more reliably than the ping variant.