include_recipe "lvm::default"
if(node[:ec2][:instance_type] == 'm1.xlarge')
  # First device comes mounted
  lvm_volume_group 'vg00' do
    physical_volumes [ '/dev/xvdb', '/dev/xvdc', '/dev/xvdc', '/dev/xvde' ]
    logical_volume 'data1' do
      size '75%VG'
      filesystem 'ext4'
      mount_point :location => '/media/ephemeral0', :options => 'noatime,nodiratime'
      stripes 4
    end
  end
end

include_recipe "lvm::default"
if(node[:ec2][:instance_type] == 'm1.xlarge')
  # First device comes mounted
  lvm_volume_group 'vg00' do
    physical_volumes [ '/dev/xvdb', '/dev/xvdc', '/dev/xvdd', '/dev/xvde' ]
    logical_volume 'data1' do
      size '75%VG'
      filesystem 'ext4'
      mount_point :location => '/media/ephemeral0', :options => 'noatime,nodiratime'
      stripes 4
    end
  end
end

Fix typo - c was being used twice
Fix typo - c was being used twice
