Pin puppetlabs-ntp when installing from source

Due to the puppet3 support removal in the upstream puppetlabs-ntp
module, we need to provide a default pin for the module when a developer
is installing from source.  If the user does not properly pin the ntp
module, the overcloud deployment fails due to a puppet parse error.

Change-Id: I2f4c1387b61c4aa2dcbb1ec5a3fa298e9330f0e8
Closes-Bug: #1633713
This commit is contained in:
Alex Schultz 2016-10-20 09:30:34 -06:00
parent 2770e40ba3
commit 59e5ff63c8
2 changed files with 12 additions and 1 deletions

View File

@ -14,4 +14,12 @@ To use git:
Configuration
-------------
None. The modules are automatically linked into /etc/puppet/modules.
The modules are automatically linked into /etc/puppet/modules.
When installing from source, you can specify a specific branch or tag to use
by exporting DIB_REPOREF_<module namespace>_<module name>=<git reference>.
For example:
export DIB\_REPOREF\_puppetlabs\_ntp=4.2.x

View File

@ -0,0 +1,3 @@
# Due to upstream puppet3 support breakage, we need to pin the NTP module
# See LP#1633713
export DIB_REPOREF_puppetlabs_ntp=${DIB_REPOREF_puppetlabs_ntp:-'4.2.x'}