diff --git a/libraries/consul_installation_binary.rb b/libraries/consul_installation_binary.rb index 6798611c..3a5262e9 100644 --- a/libraries/consul_installation_binary.rb +++ b/libraries/consul_installation_binary.rb @@ -84,7 +84,7 @@ def self.default_archive_url def self.binary_basename(node, resource) case node['kernel']['machine'] when 'x86_64', 'amd64' then ['consul', resource.version, node['os'], 'amd64'].join('_') - when 'i386' then ['consul', resource.version, node['os'], '386'].join('_') + when /i\d86/ then ['consul', resource.version, node['os'], '386'].join('_') else ['consul', resource.version, node['os'], node['kernel']['machine']].join('_') end.concat('.zip') end