OS X 'pkg' module?

72 views
Skip to first unread message

John Oliver

unread,
Nov 24, 2014, 7:54:54 PM11/24/14
to ansible...@googlegroups.com
Is there any kind of effort underway to produce a 'pkg' module for Mac OS X installers like 'yum' or 'apt'?

I'm not sure if that would count as 'extra' or 'core'.  If nobody else has started anything like that, I may just give it a whirl :-)

Igor Homyakov

unread,
Nov 25, 2014, 4:38:08 AM11/25/14
to ansible...@googlegroups.com
Hi John,

There are homebrew and macport modules in extra.

As far as I know [Nix](https://nixos.org/nix/) package manager runs on
Mac OS X as well but there is no module for Nix in ansible yet.

-- Best, Igor
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/fbeac89c-d4b4-4031-ac55-41e1ca2e4979%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

John Oliver

unread,
Nov 25, 2014, 11:40:02 AM11/25/14
to ansible...@googlegroups.com
Hi Igor.  I didn't mean to retrieve packages, but to install them.  If I have an RPM file, I can 'yum: name=/path/to/file.rpm state=present'  I'd like to do the same thing with an Apple .pkg file... 'pkg: name=/path/to/file.pkg state=present' and have that file actually installed.  I see there's a 'pkgin' for "SmartOS", whatever that is; and a 'pkgng' for FreeBSD and 'pkgutil' for Solaris, but nothing for Apple OS X.

Igor Homyakov

unread,
Nov 26, 2014, 4:49:32 AM11/26/14
to ansible...@googlegroups.com
Hi John,

Apparently you are talking about a tool like `rpm` or `dpkg`, I think
a Mac equivalent would be [installer](
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/installer.8.html).
and I haven't saw such modules so far.

-- Best, Igor
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/eb990dd9-deb9-4275-8b01-300d5d21eda8%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages