Sha256: d3520cf56735b0fb7665b3ff8e10e4e8bda74d36ef4eca12ab2edbf5811ad78e

Contents?: true

Size: 328 Bytes

Versions: 2

Compression:

Stored size: 328 Bytes

Contents

include_recipe 'common.rb'

# Install bin packages
node['brew']['install_packages'].each do |package|
  package_without_options = package.split(/[ \/]/).last
  execute "Install package: #{package_without_options}" do
    command "brew install #{package}"
    not_if "brew list | grep -q '#{package_without_options}$'"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
itamae-plugin-recipe-homebrew-0.0.3 lib/itamae/plugin/recipe/homebrew/package.rb
itamae-plugin-recipe-homebrew-0.0.2 lib/itamae/plugin/recipe/homebrew/package.rb