Comments (5)
there is an install_options feature. Ex.
package { 'php54':
ensure => present,
install_options => [
'--with-fpm',
'--without-apache'
],
require => Package['zlib']
}
from puppet-homebrew.
Thanks!
from puppet-homebrew.
Hello,
It's not exactly options for installing the package that I need but forcing the link when the package is installed.
I've done that:
homebrew::tap { 'homebrew/dupes': } ->
package { 'make': ensure => present, }
It's ok, it installed it but as make is keg-only, I still have to do brew link make --force
Any clue how to do it?
from puppet-homebrew.
I've done:
homebrew::tap { 'homebrew/dupes': } ->
package { 'make':
ensure => present,
}
exec { 'homebrew/make':
command => 'brew link make --force'
}
Maybe not the best way but it works.
from puppet-homebrew.
For grep, I tried change present to latest and it failed with following message
Could not evaluate: Could not get latest version: Execution of 'brew boxen-latest grep' returned 1: Error: No available formula for grep
Is that not supported ?
from puppet-homebrew.
Related Issues (20)
- Merge with puppet-brewcask HOT 1
- Endless repository migration HOT 1
- Deprecate Homebrew::Hooks HOT 10
- Fail to install Nginx HOT 1
- Ensure 'latest' fails with wget 1.51_1
- Install hg error HOT 1
- Question: possible to remove boxen's dependency ? HOT 2
- Question: How to use bottles? HOT 3
- Is setting LDFLAG and CFLAG the right choice? HOT 1
- brew boxen-install HOT 1
- Request: move Boxen homebrew install to /usr/local HOT 15
- How to use bottles? HOT 1
- Fetch of homebrew repo doesn't retry in the face of failures HOT 2
- Brew update removes custom commands
- tap: support custom URL
- Error: Execution of 'brew update' returned 1: Error: Cowardly refusing to 'sudo brew update' HOT 24
- Not installing to the right directory HOT 3
- Support newer versions of homebrew HOT 2
- Boxen's hombrew calling Formula.sha1 which is deprecated HOT 2
- gcc48 brew calling Formula.sha1 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-homebrew.