Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for multiple portstrees #16

Merged
merged 4 commits into from Jul 11, 2014
Merged

support for multiple portstrees #16

merged 4 commits into from Jul 11, 2014

Conversation

skoef
Copy link
Contributor

@skoef skoef commented Jul 8, 2014

As I was working on multiple portstrees to build custom ports, I figured I should add support for it in puppet-poudriere. I kept some backward compatibility in init.pp but that could be removed later on.
While on it, I added 'ensure' parameters to both poudriere::env and poudriere::portstree so they can be removed later on.

} else {
exec { "poudriere-jail-${jail}":
command => "/usr/local/bin/poudriere jail -d -j ${jail}",
onlyif => "/usr/local/bin/poudriere jail -l | grep -w '^${jail}'",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please fully qualify the grep here?

@skoef
Copy link
Contributor Author

skoef commented Jul 11, 2014

Although I normally would rather solve the path issue with an path param, since this module is specifically for FreeBSD, I'm cool with hardcoding it!

zachfi pushed a commit that referenced this pull request Jul 11, 2014
support for multiple portstrees
@zachfi zachfi merged commit fbf1834 into voxpupuli:master Jul 11, 2014
@zachfi
Copy link
Contributor

zachfi commented Jul 11, 2014

Thank you for the contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants