RFC 3484 describes an algorithm for the default destination address selection when IPv6 is in use. The RFC suggests that administrators should be able to override the default behavior. The glibc implementation used in Linux provides the
/etc/gai.conf configuration file where advanced rules for the algorithm can be configured.
Distributing configuration files and keeping them in sync is a job for Puppet. I wrote a small package for Puppet to manage