saltstack-formulas / sudoers-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
41 stars 168 forks source link

Does not support mac os #34

Open asyncmind0 opened 7 years ago

asyncmind0 commented 7 years ago

Salt supports mac os minions, but this formula does not ?

javierbertoli commented 7 years ago

Hi @jagguli, formulas are contributed by the community, so they usually support 'whatever the contributors use/need/know about'.

As you're not providing details about errors or issues you're getting with this formula, I just can suggest you a couple of possibilities to get this working:

  1. You can add pillar data that reflects your OS needs, like:

    sudoers:
    pkg: mac-sudo
    config-path: /some/path/to/sudo/config
    exec-prefix: /path/to/bin/sudo
    group: sudo-group

    I don't have any mac os around, so I'm inventing values here, but you get the idea.

  2. I see in map.jinja FreeBSD support, so probably it's just a matter of adding in that file a new mac os entry line with the corresponding parameters (as mentioned above), and submit a PR so mac os support is permanently added to the formula? 😉