Try new ChefDK 9.0
Since it's early for us in the M release, we could consider upgrading ChefDK. This patch is a test run for that. Probably need a test run for the Repo as well before making a decision. Cleanup minor unit test warning Change-Id: I9dd80cd10ac0eacfc7146eec48d862dc2f3d7dc2
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
sudo apt-get -y install build-essential liblzma-dev zlib1g-dev
|
sudo apt-get -y install build-essential liblzma-dev zlib1g-dev
|
||||||
|
|
||||||
# install chefdk
|
# install chefdk
|
||||||
chefdk=chefdk_0.7.0-1_amd64.deb
|
chefdk=chefdk_0.9.0-1_amd64.deb
|
||||||
wget -nv -t 3 https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/$chefdk
|
wget -nv -t 3 https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/$chefdk
|
||||||
sudo dpkg -i $chefdk
|
sudo dpkg -i $chefdk
|
||||||
rm $chefdk
|
rm $chefdk
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ describe 'openstack-common::default' do
|
|||||||
allow(subject).to receive(:openstack_command).with('glance', 'image-list', :env, {})
|
allow(subject).to receive(:openstack_command).with('glance', 'image-list', :env, {})
|
||||||
.and_raise("No image with a name or ID of 'test' exists. (1)")
|
.and_raise("No image with a name or ID of 'test' exists. (1)")
|
||||||
|
|
||||||
expect { subject.image_id('test', :env) }.to raise_error
|
expect { subject.image_id('test', :env) }.to raise_error(RuntimeError)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user