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

FreeBSD pkgng fix for non-interactive install. #29909

Merged

Conversation

abednarik
Copy link
Contributor

In pkgng the way to install packages and assuming yes in pre and post install scripts is to use
-y, same as apt-get or yum, for example. Also env variable ASSUME_ALWAYS_YES=YES can be used, but
in this case, is a good idea to follow others package manager implementation.
Also remove the check where only -y is used if pkgng is executed in dryrun mode. In this case
there is no difference between dry run or not.

Fixes #27056

In pkgng the way to install packages and assumming yes in pre and post install scripts is to use
-y, same as apt-get or yum, for example. Also env variable ASSUME_ALWAYS_YES=YES can be used, but
in this case, is a good idea to follow others package manager implementation.
Also remove the check where only -y is used if pkgng is executed in dryrun mode. In this case
there is no difference between dryrun or not.
@abednarik
Copy link
Contributor Author

References this and this

cachedout pushed a commit that referenced this pull request Dec 22, 2015
…e_fix

FreeBSD pkgng fix for non-interactive install.
@cachedout cachedout merged commit ad0de4d into saltstack:2015.5 Dec 22, 2015
@cachedout
Copy link
Contributor

Thanks, @abednarik

@abednarik abednarik deleted the freebsd_pkgng_non_interactive_fix branch December 22, 2015 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants