N->O Manual puppet commands have the right modulepath.
authorSofer Athlan-Guyot <sathlang@redhat.com>
Thu, 20 Apr 2017 10:30:46 +0000 (12:30 +0200)
committerSofer Athlan-Guyot <sathlang@redhat.com>
Thu, 20 Apr 2017 11:20:41 +0000 (13:20 +0200)
commit79c2d0f3d411da9e57731d9da79d25a3e0364eb2
treec0355bacc21e4af3ad523308758ee04fca7ea2d4
parentaf1f3b3b746ef3b9e8d5bb234556c943ef4f03ed
N->O Manual puppet commands have the right modulepath.

In two places during upgrade we manually trigger puppet.

There can be a problem when new puppet modules are added, and their
corresponding symlinks in /etc/puppet/modules are not created during
the installation as their are installed in
/usr/share/openstack-puppet/modules.  To prevent the issue tripleo set
modulepath in the templates.

We must use the same modulepath to make sure that we don't fail
because of missing module in the manual puppet run.

This particulary happens when you upgrade from M->N->O, as the base
image in Mitaka doesn't have the proper symlinks and they are not
created during the installation of the package.

Closes-Bug: #1684587

Change-Id: I79df6ea33f1c58e13309176a6de41b7572541fd6
extraconfig/tasks/run_puppet.sh
puppet/services/nova-api.yaml