Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Use ensure_packages to install dependencies#29

Merged
mattheath merged 1 commit intoboxen:masterfrom
DarkHorseComics:ensure-packages
Mar 21, 2014
Merged

Use ensure_packages to install dependencies#29
mattheath merged 1 commit intoboxen:masterfrom
DarkHorseComics:ensure-packages

Conversation

@jameynakama
Copy link
Copy Markdown

Without using ensure_packages, anybody using other modules with the same requirements will have to jump through lots of annoying hoops to get their dependencies installed while avoiding duplicate package declaration errors from puppet.

@mattheath
Copy link
Copy Markdown
Member

Thanks @jameydeorio, I didn't even know that existed! Could you update the spec below, then we're good to merge?

Homebrew is the default package provider, so everything's fine, but the spec is still expecting the provider to be explicitly defined:

should contain_package(pkg).with_provider("homebrew")

to

should contain_package(pkg)

Cheers! 🍺

@jameynakama
Copy link
Copy Markdown
Author

Spec updated!

@mattheath
Copy link
Copy Markdown
Member

Perfect, thanks!

mattheath added a commit that referenced this pull request Mar 21, 2014
Use ensure_packages to install dependencies
@mattheath mattheath merged commit 4ff53a4 into boxen:master Mar 21, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants