| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
This commit helps the internal YUM resolver to choose the latest version
of a package to generate dependencies. Previously, we were simply
iterating through the file so that the last instance listed always won
(even if that instance was an older version with differing
dependencies).
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
| |
_init_attributes should be called after all properties of the Source class
are initialized (so that _init_attributes could overwrite some of it).
The Yum class initializes self.deps with a different default entry, that
should not be reset by __init__ of Source afterwards.
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|\
| |
| | |
Server/Core: drop privileges even if not running as daemon
|
|/ |
|
|\
| |
| | |
Fix pylint errors
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This also pins pylint to <= 0.28 so we don't have to keep playing
whack-a-mole with it.
Also removes unnecessary suppression of apt warnings. This is no
longer necessary in 12.04, so should be safe to remove. If you're on
Ubuntu < 12.04, upgrade for heaven's sake.
|
|\ \
| | |
| | | |
Plugins/Packages: fix initialization of YumSource
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
During __init__ of the parent class get_repo_name is called. That needs
fields (pump_id) that are defined later in the __init__ of YumSource.
We introduce the new function _init_attributes to parse all attributes
out of the <Source> tag before calling any other functions.
|
| |/
|/|
| |
| |
| | |
If the auth type (either globally or specific for the client) is set to cert auth,
we have to reject clients that does not provide a cert.
|
|/
|
|
| |
Make the public host key data avaialabe for the templates.
|
|
|
|
|
|
| |
pylint could not parse the dynamic assignment of the PROTOCOL_* values
in the ssl module (the real values are in the _ssl extension). We dynamically
add here the PROTOCOL_* constants we need.
|
| |
|
|
|
|
|
|
|
| |
See the Obsoleted Features section at
http://nagios.sourceforge.net/docs/nagioscore/4/en/whatsnew.html
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of parsing key/value pairs from bcfg2.conf, this allows the
setting of the literal value which is then passed through to django as
the value of the OPTIONS setting.
This change allows for setting arbitrary options since some settings
require nested dictionaries, etc.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
| |
| |
| |
| |
| | |
Previously pep8/pylint checks were disable for the APT tool because
there were to many errors. This fix the pylint errors and enables the
code style checks.
|
| | |
|
|\ \ |
|
| | | |
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is to better match the schema since simplefile already exists. The
previous simplename attribute would fail validation. Since pkgmgr
already helpfully constructs url for you if simplefile exists, the tool
no longer needs to do the concatenation itself.
Given the low usage rate of SYSV.py and that the original functionality
was introduced in a late 1.3 release, changing the name w/o providing
backwards compatiblity seems reasonable.
|
|\ \
| | |
| | |
| | | |
https://github.com/AlexanderS/bcfg2 into maint
|
| |/
| |
| |
| |
| |
| | |
Exceptions during cache update (in kevlar mode) should not prevent
the client tool from initializing. In the worst case the old cache
would be used for the client run.
|
| |
| |
| |
| |
| | |
Adding this value to the url_map makes it possible to use it
in genshi templates.
|
|/ |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
| |
Previously, a service restart would occur even when running in whitelist
mode without the service being present in the whitelist.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|\
| |
| | |
fix keyboard interrupt during intial event handling
|
|/
|
|
|
|
|
| |
This removes some wildcard except handler because this drops some
KeyboardInterrupt exceptions (for example previously a KeyboardInterrupt
during the loading of the cache for Packages resulted in a fallback to
file read).
|
|\
| |
| | |
Server/Core: also shutdown on exceptions during fam blocking
|
|/
|
|
|
|
|
| |
Previously the server got stuck, if a keyboard interrupt occured during
block_for_fam_events. The KeyboardInterrupt exception was only handled
in the executable and it does not call shutdown for the Core. So the
running fam thread does not get killed and the main thread waits for it.
|
|\ |
|
| |
| |
| |
| | |
used.
|
| |
| |
| |
| | |
pid.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This commit attempts to break the pidfilelock during startup in cases where the
process may have exited without successfully cleaning up the lockfile. It also
attempts to grab the lock before opening the context. Also applied to the
Collector module, which may have been looking for the wrong exception since it
does not rely on a timeout.
|
|\ \
| | |
| | |
| | | |
into maint
|