[kwlug-disc] Salt master. Was it updated after this spring fallout?
Paul Nijjar
paul_nijjar at yahoo.ca
Fri Jun 26 14:02:10 EDT 2020
On Fri, Jun 26, 2020 at 11:37:09AM -0400, Mikalai Birukou via kwlug-disc wrote:
>
> Putting steps from https://repo.saltstack.com/index.html#ubuntu should this
> contain:
>
> 1) some state to add apt-key
>
> 2) have file in /etc/apt/sources.list.d If it one line there, file state
> should be enough.
>
> 3) state install pkg should stay same?
>
> 4) trigger update / upgrade / restart manually, using clusterssh?
>
I presume you are not using cmd.run from salt because you feel the
upgrade to the minions will disrupt the Salt connection?
For 3) you might consider using pkg.latest and not pkg.installed .
Then the minions should track the latest versions themselves. I do not
like doing that in general (again, I break Y when I am trying to fix
X just by doing a state.highstate) but it might work here.
Remember also that there is an order (master first, then minions? Or
the other way around?) that you need to follow when performing the
upgrade.
- Paul
--
Events: https://feeds.off-topic.kwlug.org
Blog: http://pnijjar.freeshell.org
More information about the kwlug-disc
mailing list