Closed mattwillsher closed 6 years ago
@mattwillsher If you add macos to that list does it then work?
Just run salt-call --local grains.get os
to find out the exact string to add to that list. Thanks
Sort of works. The module loads. However adding pkgin to the providers: {} minion config still results in homebrew being used. Both are on my system.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
Description of Issue/Question
pkgin is use by pkgsrc to installed packages on a variety of operations systems. In the pkgin module a check is hardcoded that stops the module loading if it doesn't match one of the listed items
https://github.com/saltstack/salt/blob/2016.11/salt/modules/pkgin.py#L89
MacOS can run pkgin (https://pkgsrc.joyent.com) and is very close to the SmartOS version.
Setup
/etc/salt/minion:
state file:
where utility_packages is a simple list of pkgsrc packages.
running salt-call still tries to use the homebrew module to install packages.
Steps to Reproduce Issue
Log outout to:
salt-call state.apply
Versions Report