| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
* add-flags-for-reporting:
Reporting: Add --no-dry-run and --no-only-important flags
Reporting: Add dry_run and only_important flags
|
| |
| |
| |
| |
| | |
All bcfg2-reports subcommands, that work with specific interactions, can
now ignore interactions created by --dry-run or --only-important run.
|
| |
| |
| |
| |
| | |
Save the status of --dry-run and --only-important in the statistics,
so that the reports could be filtered to only respect "normal" runs.
|
|\ \
| | |
| | |
| | |
| | | |
* add-schemamigration:
bcfg2-admin: Add schemamigration command from south
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | | |
* add-directory-ignore:
Server: Ignore directories containing a .bcfg2-ignore file
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
In combination with the PortageCollection the Packages plugin could now handle
layman overlays. The Portage collection evaluates the dependencies with
respect to the configured overlays.
|
| | |
|
| |
| |
| |
| |
| | |
If multiple values specified for one package all values are joined
together in a set.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The classes of Sources could now specify another class for the
Collection container. One host could only use one Collection class at
a time. So all different Sources have to reference the same
Collection.
If no "cclass" is defined in the Sources class, the collection class
name is generated by striping the "Source" string from the Sources
class name like before.
|
| |
| |
| |
| |
| |
| | |
For auto/any packages, currently only auto/any is stored in the
statistics as the new installed version. This patch changes this
behavior, so that the exact version string is saved additionaly.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This plugins allows the setting of varius flags per package. It should
be used f.e. to specify pinnings for debian packages or use flags and
keywords for gentoo packages (needs to be implemented by future Portage
plugin).
|
| | |
|
|/ |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
The code before for extra packages only worked for rpms because it only
evaluated the version information of the contained <Instance> tag and
droped the package if no one was avilable. Now the handling of <Instance>
is optional and the package is imported everytime.
|
| |
| |
| |
| |
| | |
The version of extra packages should be reported as current_version and
not as target_version.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
In ee4111fc we removed the wrong continue (the one after the if/else block
for newapi) and now we get an error that 'auto' is not an available version.
|
|/
|
|
|
|
| |
By default pkg search will update the local copy of the repository
catalogue from remote. We are executing a lot of searches and do
not want to update the catalogue every time.
|
|\
| |
| | |
Remove blanket excepts from plugins and lint
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This removes most blanket except: clauses from all plugins, including
the base plugin libraries, and bcfg2-lint. The few that remain should
all be necessary.
Most of the changes were quite minor, but this did require some
restructuring of the CfgPrivateKeyCreator; as a result, the tests for
that module were rewritten.
|
|\ \
| | |
| | | |
Fix Decisions Plugin
|
| | |
| | |
| | |
| | |
| | |
| | | |
The pseudo filemonitor created exists events, even if the file does not exists
and the event handler raises an exception. Not it simply ignores non existing
files and does not confuse the user with error messages.
|
| |/
| |
| |
| |
| |
| | |
StructFile does not monitor the files by default and without the monitor
we does not get the content. So we need to supply should_monitor=True
to the StructFile.
|
|/
|
|
| |
Signed-off-by: Jimmy Tang <jcftang@gmail.com>
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
This also pins Pylint to 0.28 or older so that we don't have to do
this again. At some point we should look at upgrading to Pylint 1.x.
|
|
|
|
|
| |
In the documentation, in the 1.3.x version and in django this option
is called time_zone (and not timezone). There is no reason to change this.
|
|\
| |
| |
| |
| | |
Conflicts:
src/lib/Bcfg2/Client/__init__.py
|
| | |
|
| |
| |
| |
| |
| |
| | |
Bundle dependencies are now realized with RequiredBundle and support
inheritance of the modification flag. This requires new client support
and will only work with clients >= 1.4.0pre2.
|
| |
| |
| |
| | |
Bcfg2.Server.Statistics.track_statistics was identical.
|
|\ \
| | |
| | |
| | | |
https://github.com/AlexanderS/bcfg2
|
| |/
| |
| |
| |
| | |
Wildcard excepts should explicitly exclude KeyboardInterrupt, so that the
process exits if the user wants it.
|
| | |
|
| | |
|
| | |
|