You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 22, 2018. It is now read-only.
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.
$ 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:
One note of clarification: it is completely possible to manually run the commands brew install handbrake and brew cask install handbrake successfully... but I'm using Boxen because I want automation. 😂
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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:
Here's an example Hiera file to recreate the problem:
The text was updated successfully, but these errors were encountered: