Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically apply updates regularly #102

Closed
larsbergstrom opened this issue Aug 28, 2015 · 4 comments
Closed

Automatically apply updates regularly #102

larsbergstrom opened this issue Aug 28, 2015 · 4 comments

Comments

@larsbergstrom
Copy link
Contributor

@larsbergstrom larsbergstrom commented Aug 28, 2015

Right now, we manually apply updates on the linux boxes (the macs are set to auto-update). We should add a cron job or similar to auto-update the linux boxes.

@metajack
Copy link
Contributor

@metajack metajack commented Aug 28, 2015

@edunham What is the standard way of doing this? A cron job would work, but this seems so basic that there must be some better way.

@edunham
Copy link
Contributor

@edunham edunham commented Aug 28, 2015

Cron is the right solution for running a task on a fixed schedule, so few
config management tools reinvent it.

Salt should differentiate between a package's latest version and some
specific version. We could run a salt state through cron to update those
packages which should be latest without accidentally updating anything
which needs a set version.
On Aug 28, 2015 8:12 AM, "Jack Moffitt" notifications@github.com wrote:

@edunham https://github.com/edunham What is the standard way of doing
this? A cron job would work, but this seems so basic that there must be
some better way.


Reply to this email directly or view it on GitHub
#102 (comment).

@aneeshusa
Copy link
Member

@aneeshusa aneeshusa commented Sep 22, 2015

Salt has separate pkg.latest and pkg.installed states, so if you know which packages should be updated it's possible to change those to pkg.latest and version pin the rest. Then, running state.highstate again will run the necessary updates, and that can be done from cron or manually.

Manishearth pushed a commit that referenced this issue Mar 9, 2016
Fix typo: mallicious → malicious.
@larsbergstrom
Copy link
Contributor Author

@larsbergstrom larsbergstrom commented Mar 24, 2016

Better info in #275

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.