This is adding the actual hostname you used into the role_mapping.  This is because people have a tendency of calling their machiens all sorts of things.

On Oct 15, 2013, at 1:20 PM, Dan Bode <notifications@github.com<mailto:notifications@github.com>> wrote:


In install-scripts/master.sh:

>  bash <(curl -fsS https://raw.github.com/CiscoSystems/openstack-installer/master/install-scripts/setup.sh)
>
>  cp -Rv /root/openstack-installer/modules /etc/puppet/
>  cp -Rv /root/openstack-installer/data /etc/puppet/
>  cp -Rv /root/openstack-installer/manifests /etc/puppet/
>
> -puppet apply /etc/puppet/manifests/site.pp --certname build-server --debug
> +if [ ${scenario} != "2_role" ] ; then
> + sed -i "s/2_role/$scenario/" /etc/puppet/data/config.yaml
> +fi
> +if [ ${scenario} == "all_in_one" ] ; then


for now, I don't mind if you just add this to the role_mappings directly. As long as there are no conflicts, there is no cost to having extra hosts defined.

—
Reply to this email directly or view it on GitHub<https://github.com/CiscoSystems/openstack-installer/pull/155/files#r6983667>.