Pin r10k to version 2.6.4
r10k version 3.0.0 and later require a newer version of the cri gem, which only work with ruby >= 2.3. This does not work on CentOS 7, where we have an earlier version. Change-Id: I99958dd82bb95b8f3d7a6a2b0c86fd2c1f21c802
This commit is contained in:
		@@ -256,7 +256,7 @@ if [ "${INSTALL_FROM_SOURCE}" = true ]; then
 | 
			
		||||
  export GEM_BIN_DIR=/tmp/packstackgems/bin/
 | 
			
		||||
  export PUPPETFILE_DIR=/usr/share/openstack-puppet/modules
 | 
			
		||||
  export GEM_HOME=/tmp/packstackgems
 | 
			
		||||
  $SUDO gem install r10k --no-ri --no-rdoc
 | 
			
		||||
  $SUDO gem install r10k -v 2.6.4 --no-ri --no-rdoc
 | 
			
		||||
  # make sure there is no puppet module pre-installed
 | 
			
		||||
  $SUDO rm -rf "${PUPPETFILE_DIR:?}/"*
 | 
			
		||||
  install_modules
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user