Use modulepath for Puppet
authorJiri Stransky <jistr@redhat.com>
Wed, 17 Aug 2016 13:18:23 +0000 (15:18 +0200)
committerJiri Stransky <jistr@redhat.com>
Wed, 17 Aug 2016 13:18:23 +0000 (15:18 +0200)
commita058beeda4e05b5ce0e2bd99f75f3e2b6bdad31c
treef04fce2ec62ed82416f5bec0d0f6509f4ce51e7c
parent0b2829480a299dcba6d5471a99ed76fb92ca31a6
Use modulepath for Puppet

We only create the /etc/puppet/modules symlinks during image building,
so as we update the openstack-puppet-modules RPM during the lifecycle
of a deployment, the symlinks can get out of date and some modules
aren't find.

This patch adds modulepath for puppet deployments, getting rid of the
need for our Puppet modules to be symlinked from /etc/puppet/modules. If
there are some already symlinked, they will take precedence. Also
modules installed from source to /opt/stack/puppet-modules will take
precedence over packaged modules in /usr/share/openstack-puppet/modules.

Change-Id: I626a596478be7c55500f9e3c7118ef64ff28aaae
Closes-Bug: #1613211
puppet/ceph-storage-post.yaml
puppet/cinder-storage-post.yaml
puppet/compute-post.yaml
puppet/controller-config-pacemaker.yaml
puppet/controller-config.yaml
puppet/swift-storage-post.yaml