Closed awhitford closed 9 years ago
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 }
}
}
is not that simple in os x, you need to use a homebrew package provider see something like https://github.com/kelseyhightower/puppet-homebrew
I thought it could use MacPorts.
It will work fine as long as you install wget before
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?