Moving to pip for the salt package

35 views
Skip to first unread message

Rémy Dernat

unread,
Jan 12, 2018, 5:30:14 AM1/12/18
to salt-...@googlegroups.com
Hi,

I am currently managing my salt-minions installs through the distro package and I would like to switch to the pip way. The idea is to get a more recent and a more homogeneous package on my minions.

Is there anyone here who already wrote a formula for this purpose ?

Best regards,
Rémy

Nick Garber

unread,
Jan 21, 2018, 5:27:09 PM1/21/18
to salt-...@googlegroups.com

Hi Rémy, just want to make sure you're aware of http://repo.saltstack.com/ - which offers recent packages.


--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/CAA6Bz%3Df9y%2BBvOTbBaGGRF_ROm5jkEcW%2BPEULpzyMgbk71E0iHg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Rémy Dernat

unread,
Jan 22, 2018, 8:31:57 AM1/22/18
to salt-...@googlegroups.com
Hi Nick,

Yes, I am aware of this URL, but I always used distro specific installs with ditro/package repositories. I think I will dig into the bootstrap file to install the same version on all my minions with pip (-P option).

Thanks,
Rémy



2018-01-21 23:26 GMT+01:00 Nick Garber <nick....@gmail.com>:

Hi Rémy, just want to make sure you're aware of http://repo.saltstack.com/ - which offers recent packages.


On Fri, Jan 12, 2018, 05:30 Rémy Dernat <rem...@gmail.com> wrote:
Hi,

I am currently managing my salt-minions installs through the distro package and I would like to switch to the pip way. The idea is to get a more recent and a more homogeneous package on my minions.

Is there anyone here who already wrote a formula for this purpose ?

Best regards,
Rémy

--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/CACCJXwOmpFEkgxsXrj_RMztu%3DMCVNH4bhzyKnJQJNdY_nCPkUQ%40mail.gmail.com.

Daniel Wallace

unread,
Jan 23, 2018, 10:00:09 AM1/23/18
to Salt-users
You cannot install using pip from the bootstrap, that is specifically for installing some dependencies with pip, not salt.

using the bootstrap script, you can specify which stable version to install on most distributions.  `bash bootstrap.sh stable 2017.7.1`

This does not work for distros like ArchLinux where we do not package for them in the repo, and where they do not keep older versions in their repos.

If you want to make sure that you can pin older versions, you should install with git using the bootstrap `bash bootstrap.sh git v2016.11.5` and specify which git tag to build from.

Robert Hernandez

unread,
Jan 30, 2018, 5:49:04 PM1/30/18
to Salt-users

Daniel Wallace

unread,
Jan 30, 2018, 5:49:31 PM1/30/18
to Salt-users
Ahh, i was unaware of that, that is perfect.

Reply all
Reply to author
Forward
0 new messages