openshift/puppet-openshift_origin — pull request #327 by detiber (2014-11-04 03:30:31+00:00)
Title: Fixes for register_dns

- no longer attempt to register the same name multiple times if multiple
roles on the same host are configured with the same hostname
- update the load balancer dns in the same nsupdate as the host dns
entries

addresses the following error when running vagrant-openshift based devenvs:
```
[1;35merr: /Stage[main]/Openshift_origin::Register_dns/Exec[Register openshift.ec2.internal]/returns: change from notrun to 0 failed: (

echo server 10.33.160.203
echo update delete openshift.example.com A
echo update add openshift.example.com 180 A 10.33.160.203

echo server 10.33.160.203
echo update delete openshift.example.com A
echo update add openshift.example.com 180 A 10.33.160.203

echo server 10.33.160.203
echo update delete openshift.example.com A
echo update add openshift.example.com 180 A 10.33.160.203

echo server 10.33.160.203
echo update delete openshift.example.com A
echo update add openshift.example.com 180 A 10.33.160.203

echo server 10.33.160.203
echo update delete openshift.example.com A
echo update add openshift.example.com 180 A 10.33.160.203

echo send
)| nsupdate -y HMAC-MD5:example.com:slPkQt2ESB7R/dMs50WoXn5gGltjUIhFm83tJfHpGwF5Qha7OTsnalXk28de3Ov/ZpByw8Y+2gUyjahHm9eKIg==
returned 1 instead of one of [0] at /etc/puppet/modules/openshift_origin/manifests/register_dns.pp:32[0m
```