Fix avalaible/available typo

Change-Id: I19a38f6bd26a6a47b5772799c8024872e6d7bbff
This commit is contained in:
David Moreau Simard 2015-05-15 15:22:04 -04:00
parent b29ee6f706
commit 340186e2ed
2 changed files with 3 additions and 3 deletions

View File

@ -124,7 +124,7 @@ correctly configured.")
list = auth_neutron("#{type}-list", '--format=csv',
'--column=id', '--quote=none')
if list.nil?
raise(Puppet::ExecutionFailure, "Can't retrieve #{type}-list because Neutron or Keystone API is not avalaible.")
raise(Puppet::ExecutionFailure, "Can't retrieve #{type}-list because Neutron or Keystone API is not available.")
end
(list.split("\n")[1..-1] || []).compact.collect do |line|
@ -137,7 +137,7 @@ correctly configured.")
attrs = {}
net = auth_neutron("#{type}-show", '--format=shell', id)
if net.nil?
raise(Puppet::ExecutionFailure, "Can't retrieve #{type}-show because Neutron or Keystone API is not avalaible.")
raise(Puppet::ExecutionFailure, "Can't retrieve #{type}-show because Neutron or Keystone API is not available.")
end
last_key = nil

View File

@ -29,7 +29,7 @@ describe Puppet::Provider::Neutron do
end
let :exec_error do
/Neutron or Keystone API is not avalaible/
/Neutron or Keystone API is not available/
end
after :each do