Repository navigation
Conversation
This builds on the work Tom started, using common functions for reading and writing the cache, and also switching the cache location. Additionally, this commit also optimizes the file list cache by creating separate cache files for each environment. The desired environment is in the load already, so there is no need to walk the other environments to get the desired file_list data.
We still need to be able to set the screen size within a multiprocessing process.
Fix the logging call and try to catch any errors occurring while spawning the VT.
This change mirrors the behavior in the apt module. Previous behavior of nuking the package cache would cause yum to download ~30 MB of data for each and every highstate run.
************* Module salt.fileserver.roots salt/fileserver/roots.py:11: [W0611(unused-import), ] Unused import time
Instead of raising `RuntimeError`, raise `TerminalException`.
This was moved off to salt-contrib due to some issues with SELinux. I've added in a grain for SELinux (as a bunch of other thinks may or may not work with it) and have made yumpkg the default for all redhat family OSs with selinux disabled (might want to change to non-enforcing, but we'll start out safe)
Change yumpkg to only load on RHEL 6 releases
Fix a pet peeve of mine so that beginners don't repeat the mistake: silencing `ImportError` is evil since you don't know if it came because `dependency_that_sometimes_exists` is unavailable or the `dependency_that_sometimes_exists` tried to import something which was broken. This can seriously hinder debugging.
Author
|
Noticed these from your PR Awesome work! Still need to read it all though... |
Author
|
Please ignore this if you've already fixed theses issues |
Author
|
hmm, there's more in this PR than just the lint fixes :| |
Author
|
I think it's best if this is closed, you can just cherry-pick 3f33f34 |
cro
pushed a commit
that referenced
this pull request
Dec 1, 2015
cro
pushed a commit
that referenced
this pull request
Dec 3, 2015
systemd module: new unit test for available
cro
pushed a commit
that referenced
this pull request
Dec 3, 2015
file state: integration test difflib version check
cro
pushed a commit
that referenced
this pull request
Dec 4, 2015
modules.glusterfs: fix start_volume unit test
cro
pushed a commit
that referenced
this pull request
Feb 8, 2016
Updating documentation of module file
cro
pushed a commit
that referenced
this pull request
Mar 1, 2016
Fix issue where deploy_kwargs is missing.
cro
pushed a commit
that referenced
this pull request
Mar 1, 2016
cro
pushed a commit
that referenced
this pull request
Sep 29, 2016
Move check for service availability to a helper function
cro
pushed a commit
that referenced
this pull request
Sep 30, 2016
Updates to salt/states/pkg.py, modules/win_pkg.py, doc/ref/configuration/minion.rst
cro
pushed a commit
that referenced
this pull request
Oct 14, 2016
Update mocks for failing tests in win_certutil_test
cro
pushed a commit
that referenced
this pull request
Jan 19, 2017
Adjust linux_acl unit test argument ordering
cro
pushed a commit
that referenced
this pull request
Jan 19, 2017
Fixes inability to remove untagged Docker images.
cro
pushed a commit
that referenced
this pull request
Feb 1, 2017
Remove extra if statements (rstrip will check for the presence anyway).
cro
pushed a commit
that referenced
this pull request
Aug 2, 2017
Restrict set_umask to mkstemp call only
cro
pushed a commit
that referenced
this pull request
Jan 29, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.