cask :v1 => 'puppet' do
  version '3.7.3'
  sha256 'f673b9c45dbefa410efa6d7f74ea820a1b01b4f659f142c92310f8ab3df477af'

  url "http://downloads.puppetlabs.com/mac/puppet-#{version}.dmg"
  homepage 'http://puppetlabs.com/'
  license :unknown    # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder

  pkg "puppet-#{version}.pkg"

  uninstall :pkgutil => 'com.puppetlabs.puppet'
end

cask :v1 => 'puppet' do
  version '3.7.4'
  sha256 '8eb17151199cc8c726fd64a56aba20b25627f699ce841ce9d04dbe59edbe3223'

  url "http://downloads.puppetlabs.com/mac/puppet-#{version}.dmg"
  homepage 'http://puppetlabs.com/'
  license :apache

  pkg "puppet-#{version}.pkg"

  uninstall :pkgutil => 'com.puppetlabs.puppet'
end

Update Puppet to 3.7.4, set license
Update Puppet to 3.7.4, set license

License assigned based on
https://github.com/puppetlabs/puppet/blob/master/LICENSE
