| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Konstantin L. Metlov <metlov@fti.dn.ua>
|
|
|
|
| |
Signed-off-by: Konstantin L. Metlov <metlov@fti.dn.ua>
|
|
|
|
| |
Signed-off-by: Konstantin L. Metlov <metlov@fti.dn.ua>
|
| |
|
| |
|
|
|
|
| |
We need to convert from str to float before doing the comparison.
|
|
|
|
|
| |
We do not need to create files for the different certificat formats, because
all data could and should be recreated from the current certificate files.
|
|
|
|
|
| |
Even verify self signed certificates to recreate the certificate if it is
expired.
|
|
|
|
|
| |
This generator will not generate a new ssl key or ssl cert, but it will
generate a custom format of already existing ssl keys and certs.
|
| |
|
|
|
|
|
|
|
| |
After a CfgCreator wrote a file, it should block until the fam events are
processed. The newly created files might be required by another Cfg plugin
(like CfgPrivateKeyCreator and CfgPublicKeyCreator) and the fam events should
be processed before the other plugin is invoked.
|
|
|
|
| |
This will fix: 'bool' object has no attribute 'lower'
|
|\ |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
If multiple values specified for one package all values are joined
together in a set.
|
| | |
| | |
| | |
| | |
| | | |
This plugins allows the setting of varius flags per package. It should
be used f.e. to specify pinnings for debian packages.
|
| | |
| | |
| | |
| | |
| | | |
The provides packages of a source should be filtered by the Blacklist or
Whitelist tags for the source.
|
| | |
| | |
| | |
| | | |
Some mirror might block the default python urllib User-Agent.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Pyapt is a new source that is using the apt python bindings to parse the
Packages files from debian repositories. Compared to the python implementation
it is faster and more robust. It will use the dependencies of the newest
version of a package from a specific source (because it can use the python
bindings to compare the version numbers).
|
| |/
| |
| |
| |
| |
| |
| | |
The new Reader classes implement different compression methods for the files
parsed by the Packages backends. Each source can specify a default compression
format. The user can configure a compression format per Source and the filename
and extension for the metadata files are generated automatically.
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We should favour "-trusted" over "-CAfile" because it will skip the system-wide
CAs and ensure that the certificate is relay validated against the specified
CA.
For validation against an intermediate certificate, only an additional
"-partial_chain" is required. With "-untrusted" we previously added an
unstrusted intermediate certificate only and validated the cert against default
system wide installed CAs.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The DirectoryBacked helper now does not recurse into directories that
contains a .bcfg2-ignore file. This makes it possible to ignore some
directories for most plugins (Bundler, Defaults, Pkgmgr, Properties,
PuppetENC, TemplateHelper, Trigger). You can store for example a python
module used by a TemplateHelper in the same directory, without getting
strange error messages while TemplateHelper is trying to import each
single file of this module.
|
| | |
| | |
| | |
| | | |
This backend will not add any packages.
|
| | |
| | |
| | |
| | |
| | |
| | | |
The messages of the packages in the packagesite file may be encoded in
any encoding. We only need the dependencies and just ignore the unicode
errors.
|
| |/
|/|
| |
| | |
The Bundle do not need to be bound by another plugin.
|
| |
| |
| |
| | |
unicode in py3.
|
| |
| |
| |
| |
| | |
When importing packages we should not pollute the global modules
namespace and always import new modules with their package name.
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If the module name contains slashes, python will issue an warning:
> Ldap/config.py:1: RuntimeWarning: Parent module '__Ldap_/root/repo/Ldap/config' not found while handling absolute import
> from Bcfg2.Server.Plugins.Ldap import LdapConnection, LdapQuery
So we simply use the basename without the file extension for the module name.
|
| | |
| | |
| | |
| | |
| | |
| | | |
You can now set arbitrary ldap option for the connection by specifying
a dict with the key and the value. You should use the constants from
python-ldap.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
You can now specify the server to connect by either host (and optionally
port) or by specifying the full ldap uri. If you specify host and port
the connection will use the plain (unencrypted) ldap protocol by default.
Only if you specify the port "636", it will use ldaps now.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Using the OnDemandDict removes the results of Ldap queries from the
client_metadata cache. We add a new cache per hostname cache for the
single ldap queries and add a new configuration option to enable
caching until the cache is expired manually via XML-RPC.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
With the CallableDict the LdapQueries will only be executed, if the values
are used.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add a CallableDict (like OnDemandDict, but without caching the results)
to have a dict-like class, that can be cached with the client metadata
without caching the dynamic values.
|