Document setting the correct hostname.
Puppetmaster bringup will often have the wrong hostname in a cloud (e.g. a uuid or the shortname given to nova). But if it's wrong the puppetmaster CA created by the puppetmaster module will be broken. Additional nodes can have this handled by automation, but the puppetmaster is special - this is part of the bootstrap process. Change-Id: I8e0e2ea4a5d27fb248b88d6be57abb171d81f13f
This commit is contained in:
parent
f9461e446a
commit
2bfb9144f2
@ -52,11 +52,14 @@ compatible, so be sure to use an older release - e.g. Ubuntu Precise.
|
||||
/opt/config/production/install_puppet.sh
|
||||
apt-get install puppetmaster-passenger hiera hiera-puppet
|
||||
|
||||
Finally, install the modules and use ``puppet apply`` to finish configuration:
|
||||
Finally, install the modules, fix your hostname and use ``puppet apply`` to
|
||||
finish configuration:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
bash /opt/config/production/install_modules.sh
|
||||
echo $REAL_HOSTNAME > /etc/hostname
|
||||
service hostname restart
|
||||
puppet apply --modulepath='/opt/config/production/modules:/etc/puppet/modules' -e 'include openstack_project::puppetmaster'
|
||||
|
||||
Note: Hiera uses a systemwide configuration file in ``/etc/puppet/hiera.yaml``
|
||||
|
Loading…
Reference in New Issue
Block a user