Can salt upgrade itself? By package (I currently install from epel-testing on CentOS)? From git master (REALLY need 0.14.1)?If so, simply by running cmd.run? Write a module? Maybe a module already exists? Logging into 200+ machines isn't really feasible.
--
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.
For more options, visit https://groups.google.com/groups/opt_out.
On Apr 12, 2013 10:04 AM, "Jeffrey Ollie" <je...@ocjtech.us> wrote:
>
> On Fri, Apr 12, 2013 at 11:18 AM, Paul Traylor
> <kungfudi...@gmail.com> wrote:
> > 2013/4/11 Jeffrey Ollie <je...@ocjtech.us>:
> >>
> >> master# salt -v '*' cmd.run 'yum clean all && yum update salt*'
> >> master# salt -v '*' service.restart salt-minion
> >
> > Could you not run
> >
> > salt -v '*' pkg.install salt refresh=True
> >
> > instead ?
>
> Well, you'd have to do:
>
> salt -v '*' pkg.install pkgs='["salt", "salt-minion"]' refresh=True
Nah, yum handles the dependencies for you just fine. I just ask it to install salt-minion and that takes care of it.
> I guess I didn't think that "install" would upgrade packages, plus I
> started using my original formula before the multiple package install
> option was available.
I agree it's not totally intuitive. I've often wished that we had an "update" or "upgrade" that didn't do the full yum update... That'd probably be easy to add.
--
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.
For more options, visit https://groups.google.com/groups/opt_out.