| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5327 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5326 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5325 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
| |
Cheetah is not considered a requirement on the server. A check has been
added to see if it is installed when trying to instantiate the TCheetah
plugin.
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5324 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5323 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Apparently classmethods aren't callable from subclasses if overridden
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5322 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
nicely)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5321 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
|
| |
somekool)
SSLServer/Statistics were missing from the spec file causing rpmbuild to
fail with errors.
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5320 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rework metadata so that each instance has addresses and aliases instance
attributes containing manually specified addresses and alias names.
Unify pub key resolution loop to process this data once per client.
Change: only clients with active metadata will be included in
ssh_known_hosts data now. Other keys can be stored in *.static, in final
known_hosts file format.
Also, a more exhaustive search for ip addresses is now performed. DNS
resolution for the client hostname, as well as all aliases is performed.
Manually specified addresses are added included as well.
This should also fix some tracebacks reported by Cory and Teknix, as
well as improve performance.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5319 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5318 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5317 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
| |
Implement Trigger plugin. Can be used to call out when clients upload
statistics packets. This plugin will call each executable within the
Trigger spool directory, passing <hostname> -p <profile> -g <grouplist>
The group list is delimited with colons.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5316 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
| |
Track all providers of required files; this allows us to use the common framework
for multiple providers and gets rid of pathological behavior relating to packaging
oddities (in particular, package kdebindings offering /usr/lib64/python2.4 on centos 5.2)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5315 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5314 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5313 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
group and bundle.x
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5312 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
bcfg2-admin viz now takes the output filename into consideration when choosing the output file type.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5310 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Propertly keep all files that are referenced by any packages in the source.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5309 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
| |
The default settings for ConfigFile metadata were previously hardcoded
in Plugin.py. This change enables setting global user-specified defaults
in the [mdata] section of bcfg2.conf.
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5308 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5307 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
metadata for changes in 5305
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5306 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5305 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5304 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5303 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Add method to get list of all group names, change all client interface to match.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5302 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
| |
APT: Suppress APT api warning
Client/Tools/__init__.py: Suppress popen2 deprecation warning
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5301 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5300 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5298 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
Add explicit knob to select encryption for client/server connections. The default
value is xmlrpc/ssl, but xmlrpc/tlsv1 is also supported (needed to use DOE grid certs)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5297 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
There is some weird issue in Fam where fam stops giving events. The previous code did not tickle this condition
but the new refactored code did, so we're going back to the old code for the moment.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5296 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
|
| |
SSHBase is now aware of aliases listed in the clients.xml file.
ClientMetadata now includes `addresses` which are a mapping from an
alias to an (ip, name) tuple. The ip addresses can be specified either
in clients.xml as an address attribute to the Alias or in DNS.
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5295 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
| |
Issues
- Log bind failures properly
- Log ssl key/cert/ca key existence problems
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5294 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Remove call to deepcopy, fixing a traceback and improving performance
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5293 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Add dictionary tracking YumSource architecture mappings for cache files
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5292 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5291 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
| |
Build uniform profiling support for both core startup and individual commands.
Also ensure that single shot commands (from argv) work properly. Core profiling (for
startup) can be enabled with -p, and individual commands can be profiled by prefixing
the profile command, a la:
> profile build ubik3 /tmp/ubik3.xml
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5290 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5289 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5288 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
|
| |
Remove vestiages of the old .all interface; previously we needed to use
copy.deepcopy to ensure that ClientMetadata consumers could not modify
data structures from templates, etc.
This also has the nice side effect of speeding up metadata resolution by
a factor of 50 (0.5s -> 0.01s) in my repository.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5287 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clean up all of the ad-hoc interface to global metadata, replacing it with a
consistent interface. ClientMetadata instances now have a query attribute
which has the following methods:
- by_name -- resolve client metadata by primary name
- by_groups -- resolve client metadata for clients belonging to multiple groups
- by_profiles -- resolve client metadata for clients with given profiles
- names_by_groups -- return names of clients belonging to multiple groups
- names_by_profiles -- return names of clients using given profiles
- all_names -- return names of all clients
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5286 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
This commit caches the result of startup parsing, reducing startup time for YumSources.
bcfg2-info startup time on my repo was reduced by 60%.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5285 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5284 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
Track needed file paths so that the contents of all packages do not need to be tracked. This reduces
memory consumption ~60% on my test repository (360MB -> 60MB for bcfg2-info). woo!
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5283 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5282 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5281 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5280 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
| |
* Remove m2crypto dependency
* Add ssl-py26 dependency
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5279 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5278 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Rehn) (Resolves Ticket #657)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5277 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5276 ce84e21b-d406-0410-9b95-82705330c041
|