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 Mac #32

Closed
awhitford opened this issue Sep 4, 2014 · 4 comments
Closed

Support Mac #32

awhitford opened this issue Sep 4, 2014 · 4 comments

Comments

@awhitford
Copy link

It looks like there is some partial Darwin support but ultimately this does not work on a Mac...

Error: Could not find command 'wget'
Error: /Stage[main]/Maven::Maven/Wget::Fetch[fetch-maven]/Exec[wget-fetch-maven]/returns: change from notrun to 0 failed: Could not find command 'wget'

Could that be supported?

@awhitford
Copy link
Author

Can't you just modify the Linux check to include Darwin?

  if $::kernel == 'Linux' or $::kernel == 'Darwin' {
    if ! defined(Package['wget']) {
      package { 'wget': ensure => $version }
    }
  }

@carlossg
Copy link
Member

carlossg commented Sep 4, 2014

is not that simple in os x, you need to use a homebrew package provider
see something like https://github.com/kelseyhightower/puppet-homebrew

@awhitford
Copy link
Author

I thought it could use MacPorts.

@carlossg
Copy link
Member

It will work fine as long as you install wget before

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

No branches or pull requests

2 participants