This repository was archived by the owner on May 22, 2018. It is now read-only.

Description
I'm using Boxen to manage a list of Homebrew (and Caskroom). Since they have separate namespaces, both of them offer a package named handbrake. In Homebrew, that package is a command-line tool, and in Caskroom, that package is a GUI .app package that goes in /Applications.
Unfortunately, Boxen creates both types of packages in a single namespace, and Puppet doesn't allow two packages with the same name.
Here's the output from running boxen:
$ script/boxen
--> Preparing to auto-update...
--> Complete! Nothing new from upstream.
Error: Duplicate declaration: Package[handbrake] is already declared; cannot redeclare at /opt/boxen/repo/shared/boxen/manifests/personal.pp:91 on node finn.local
Error: Duplicate declaration: Package[handbrake] is already declared; cannot redeclare at /opt/boxen/repo/shared/boxen/manifests/personal.pp:91 on node finn.local
Here's an example Hiera file to recreate the problem:
# /opt/boxen/repo/hiera/users/indirect.yaml
---
boxen::personal::homebrew_packages:
- handbrake
boxen::personal::osx_apps:
- handbrake