| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Connector plugins can now create new groups, including the full range
of options on those groups (profile, public, category, etc.).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This monitors XIncluded files even if should_monitor=False, since the
object monitoring the base file will not monitor XIncludes. This
ensures that XIncluded files are properly monitored whenever possible,
particularly for Bundler and Properties.
This is a partial backport of 5b66845 -- as much of a backport as is
possible without a module-level FAM object.
|
|\
| |
| |
| |
| | |
kincl/pre-action-processing-with-independent-entries
Pre action processing with independent entries
|
| | |
|
| |
| |
| |
| |
| | |
example
schemas: Fixed Action `when` attribute description
|
| |
| |
| |
| | |
determining if a bundle has been modified
|
| |
| |
| |
| | |
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>
|
|/
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
| |
This reverts commit 542ededa8297b1889542d97b9bdfb8345dd7550c.
Committed to wrong branch.
|
|
|
|
|
|
| |
This makes HandlesEntry work with the new code that's in place for
StructFile to replace XMLSrc. Fixes
https://github.com/Bcfg2/bcfg2/commit/2169edc1bba82076db776b75db89b79d6f2f4786#commitcomment-3968162
|
| |
|
|
|
|
|
|
|
| |
decode_request_content() just adds support for gzipped content, which
the Bcfg2 client doesn't support. Given that this feature was only
added in Python 2.7, it's unlikely we'll be adding support for gzipped
POST content any time soon.
|
|
|
|
|
|
| |
Fixed long lines.
Improved efficiency by avoiding multiple loops over the same data.
|
| |
|
|
|
|
|
|
|
|
| |
This updates the do_POST() code to cleave more closely to the code in
SimpleXMLRPCHandler.do_POST (plus SSL magic, of course). In doing so,
it eliminates a select() call whose timeouts were not handled
properly, and which thus left stray idle processes around after
incomplete XML-RPC calls.
|
|\
| |
| | |
Metadata: Fix client list calls use list_clients() which is DB-aware instead of just self.clients
|
|/
|
|
| |
of just self.clients
|
|
|
|
|
|
|
|
| |
If you don't supply a mode to the selinux.matchpathcon() function, it
fails to properly look up the context in some circumstances related to
context patterns in the SELinux policy. This change looks up the mode
and supplies it to the function.
(cherry picked from commit 20a2c9a8fb6c6ecbed259b5deccb01c01bf3304f)
|
|
|
|
|
|
|
|
|
| |
Following the same logic as 360ba2e7, we should be explicit about
the need to detach the bcfg2-report-collector process.
Side note: this bit me because I was starting the bcfg2 server
processes via SSH, and the way python-daemon checks for being
started by inetd is to see if stdin is a socket. (??)
|
| |
|
| |
|
|
|
|
|
| |
This makes category negation consistent, and also makes it work like
it did in Bcfg2 1.2
|
|
|
|
|
|
|
|
|
| |
Primarily, this fixes a few potential bugs in initial metadata, which
may result in inconsistent ordering of groups, which can be a problem
when relying on category suppression.
This also deduplicates some category suppression code, and moves some
nested functions to top-level methods, which are surprisingly faster.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Previously, when a bundle's contents were updated, all services listed
in the bundle were stopped if the status attribute was set to 'ignore'.
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>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
| |
This reverts commit 4f745cc2731f7035f02566ba8bc1a0e9ae1b1a71.
This breaks handling of unicode on python 2.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This fixes cases where the collection itself would not be cached
because a host had no sources, or multiple sources of different types;
we still want to cache package group results and package sets (both of
which will be empty).
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
| |
|
|
|
|
|
| |
Also abstracted getting the list of objects that may register RMI
calls into a separate function.
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This gives a single unified interface for expiring caches, no matter
the plugin. This will be particularly useful with the
MultiprocessingCore, as certain calls must be dispatched to child
processes to expire their caches.
|
| |
|