diff --git a/cookbooks/fb_storage/recipes/default.rb b/cookbooks/fb_storage/recipes/default.rb index 97420d30..176eea94 100644 --- a/cookbooks/fb_storage/recipes/default.rb +++ b/cookbooks/fb_storage/recipes/default.rb @@ -111,7 +111,7 @@ 'It must be a number with an optional suffix of %%kmgt' %w{start end}.each do |disp| unless partition["partition_#{disp}"].match( - /^\d+(\.\d+)?([KkMmGgTt%](iB)?)?$/, + /^\d+(\.\d+)?([KkMmGgsTt%](iB)?)?$/, ) fail format(pmsg, partition["partition_#{disp}"]) end