Add bootstrap script for infra test nodes
Added a bootstrap script for installing all the packages needed to run the chef tests with 'chef exec rake' on a ubuntu trusty. The current script is a first try of implementing the blueprint mentioned below. Change-Id: Ia5b9b800525ff7fd79a1f09ffecd1a91b264ccf7 blueprint: bootstrap-infra-test-nodes
This commit is contained in:
		| @@ -18,6 +18,7 @@ This file is used to list changes made in each version of cookbook-openstack-com | |||||||
| * Cleanup CHEF-3694 warnings | * Cleanup CHEF-3694 warnings | ||||||
| * Allow disabling GnuPG signature check for RDO repo | * Allow disabling GnuPG signature check for RDO repo | ||||||
| * Add global bind_interface attribute like the existing bind-host one | * Add global bind_interface attribute like the existing bind-host one | ||||||
|  | * Add bootstrap.sh for installing the packages needed to run tests on trusty with 'chef exec rake' | ||||||
|  |  | ||||||
| ## 10.1.0 | ## 10.1.0 | ||||||
| * Adding identity admin bind host endpoint to allow flexibility and consistency | * Adding identity admin bind host endpoint to allow flexibility and consistency | ||||||
|   | |||||||
							
								
								
									
										10
									
								
								bootstrap.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										10
									
								
								bootstrap.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,10 @@ | |||||||
|  | #!/bin/bash -x | ||||||
|  | ## This script is for installing all the needed packages on trusty to run the chef tests with 'chef exec rake' | ||||||
|  |  | ||||||
|  | # install needed packages | ||||||
|  | sudo apt-get -y install build-essential liblzma-dev zlib1g-dev | ||||||
|  |  | ||||||
|  | # install chefdk | ||||||
|  | chefdk=chefdk_0.4.0-1_amd64.deb | ||||||
|  | wget -nv -t 3 https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/$chefdk | ||||||
|  | sudo dpkg -i $chefdk | ||||||
		Reference in New Issue
	
	Block a user
	 Jan Klare
					Jan Klare