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

salt/modules/pkgng.py: pkg.clean: Add clean_all and dryrun options #45166

Merged
merged 1 commit into from Dec 27, 2017

Conversation

Projects
None yet
2 participants
@woodsb02
Copy link
Contributor

commented Dec 26, 2017

What does this PR do?

pkg.clean on FreeBSD: Add clean_all and dryrun options

dryrun was required because the previous behaviour did not include the
"-y" argument, and therefore would never actually perform the clean.

clean_all exposes the functionality to remove all packages from the
local cache, not just those that have been superseded by newer versions.

What issues does this PR fix or reference?

None

Tests written?

No

Commits signed with GPG?

No

salt/modules/pkgng.py: pkg.clean: Add clean_all and dryrun options
dryrun was required because the previous behaviour did not include the
"-y" argument, and therefore would never actually perform the clean.

clean_all exposes the functionality to remove all packages from the
local cache, not just those that have been superseded by newer versions.
@rallytime

This comment has been minimized.

Copy link
Contributor

commented Dec 27, 2017

re-run lint

@rallytime rallytime merged commit 348342f into saltstack:develop Dec 27, 2017

6 of 9 checks passed

jenkins/PR/salt-pr-rs-cent7-n Pull Requests » Salt PR - RS CentOS 7 #14664 — ABORTED
Details
codeclimate 1 issue to fix
Details
jenkins/PR/salt-pr-linode-ubuntu16-py3 Pull Requests » Salt PR - Linode Ubuntu16.04 - PY3 #5104 — FAILURE
Details
WIP ready for review
Details
default Build finished.
Details
jenkins/PR/salt-pr-clone Pull Requests » Salt PR - Clone #20595 — SUCCESS
Details
jenkins/PR/salt-pr-docs-n Pull Requests » Salt PR - Docs #13096 — SUCCESS
Details
jenkins/PR/salt-pr-linode-ubuntu14-n Pull Requests » Salt PR - Linode Ubuntu14.04 #18101 — SUCCESS
Details
jenkins/PR/salt-pr-lint-n Pull Requests » Salt PR - Code Lint #17685 — SUCCESS
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.