not all salt functions available on Centos 5

44 views
Skip to first unread message

uuc...@gmail.com

unread,
May 20, 2013, 12:07:12 PM5/20/13
to salt-...@googlegroups.com
Hi folks,

I am evaluating salt stack installed in different environments and OSs and found out that sys.doc produces a different output ran against centos 5 and centos 6 servers (probably related to the installed packages under OS). Specifically, on centos 5 there are missing repo/pkg management functions:

> pkg.clean_metadata:
> pkg.del_repo:
> pkg.file_dict:
> pkg.file_list:
> pkg.get_repo:
> pkg.group_diff:
> pkg.group_info:
> pkg.group_install:
> pkg.group_list:
> pkg.list_repos:
> pkg.mod_repo:
> pkg.verify:

saltstack 0.14.1 was installed from epel repository for both cent5 and 6. Could you please direct me how to track those missing packages in Centos5 to get full functionally of saltstack as with centos6 (at least, for the repos management part).

thank you very much for your help

 

Jeffrey Ollie

unread,
May 20, 2013, 12:15:15 PM5/20/13
to salt-users
On Mon, May 20, 2013 at 11:07 AM, <uuc...@gmail.com> wrote:
>
> I am evaluating salt stack installed in different environments and OSs and
> found out that sys.doc produces a different output ran against centos 5 and
> centos 6 servers (probably related to the installed packages under OS).
> Specifically, on centos 5 there are missing repo/pkg management functions:

The difference is probably the older version of yum available on
CentOS 5. That version does not provide the same interface that is
used in CentOS 6 (and Fedora) so it falls back to running the yum and
rpm binaries rather than interfacing directly using the Yum Python
API.

--
Jeff Ollie

uuc...@gmail.com

unread,
May 20, 2013, 1:29:34 PM5/20/13
to salt-...@googlegroups.com
thank you for the quick reply. I guess, I have to work around the limitation in a script's logic ...
Reply all
Reply to author
Forward
0 new messages