You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We don't use these two apt commands and we shouldn't have to run them
manually, so remove them.
`upgrade()` is potentially bad because it can create disparity between
machines or environments. We automatically upgrade Ubuntu packages with
security updates using `unattended-upgrades` and we should use Puppet to
upgrade the packages we manage by setting `ensure` to `latest` where
appropriate.
`dist_upgrade()` is potentially bad for the same reasons, but also
because it may remove packages. There's no need for us to run it
manually.
"""Perform non-interactive dist-upgrade using apt-get"""
25
-
prompt('dist-upgrade is a dangerous operation, can remove packages and generally break all the things. Are you sure you want to proceed? (y/n)', validate=r'^[Yy]$')
0 commit comments