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

Darwin MacOS support #49

Open
abuzuluk opened this issue Jul 29, 2019 · 6 comments
Open

Darwin MacOS support #49

abuzuluk opened this issue Jul 29, 2019 · 6 comments

Comments

@abuzuluk
Copy link

Hello, Can we add to this module ability install perl modules on MacOS?

@abuzuluk abuzuluk changed the title Darwin support Darwin MacOS support Jul 29, 2019
@faxm0dem
Copy link
Member

This would be great!
Unfortunately I don't have access to a MacOS machine. Would you be willing to do a PR with the new functionality?

@abuzuluk
Copy link
Author

Yeap, sure! I have couple MacOS Mojave machine, where I can test changes.
Is just a simple adding Darwin as a confine to provider or smth else?

@faxm0dem
Copy link
Member

At the very least, add the right values for the new OS to params.pp and config.pp

@faxm0dem
Copy link
Member

FWIW I'd like to move OS-specific stuff to module data in the near future

@abuzuluk
Copy link
Author

That's nice, however when I was using this module on MacOS it was enough just to add :Darwin in confine in provider.
But perl was already installed.

I am not getting -- is this module installs perl or not?
If yes. so perl installs on MacOS via brew, which require another https://forge.puppet.com/thekevjames/homebrew module dependency.
Please let me know your thoughts.
Thanks!

@faxm0dem
Copy link
Member

IIRC it doesn't require the perl package directly, but it will install the cpan package (if manage_package is set to true.

I don't know anything about homebrew, but if you can get it to install cpan for darwin the way you like, it's fine by me :)

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