cedwards/salt — comment on commit f99ee72bb4f7e3a08c97fef299c5d321eba80593
File:  line 0
By SEJeff:

Don't forget the case when a Jail is running on physical hardware and not under kvm/qemu. Something vaguely like this:

If grains['virtual'] = 'physical' and jail:
grains['virtual'] = 'jail'