Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAutomatically apply updates regularly #102
Comments
|
@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. |
|
Cron is the right solution for running a task on a fixed schedule, so few Salt should differentiate between a package's latest version and some
|
|
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. |
Fix typo: mallicious → malicious.
|
Better info in #275 |
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.