summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/SSHbase.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix long line.Gordon Messmer2016-04-011-1/+2
|
* Generate ed25519 keys.Gordon Messmer2016-03-311-1/+7
|
* SSHbase: Expire metadata cache on pubkey eventAlexander Sulfrian2015-07-271-0/+4
| | | | | | | | SSHbase supply the public keyfiles as additional metadata, so we need to expire the metadata cache if we get an event for such file. We would only need to expire the metadata cache for hosts, that reference that exact file (host or group specific) but we cannot get this information, so that we simply expire the metadata cache for all hosts.
* Merge branch 'maint'Alexander Sulfrian2015-06-121-0/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: debian/changelog doc/conf.py misc/bcfg2-selinux.spec misc/bcfg2.spec osx/Makefile osx/macports/Portfile solaris-ips/MANIFEST.bcfg2-server.header solaris-ips/MANIFEST.bcfg2.header solaris-ips/Makefile solaris-ips/pkginfo.bcfg2 solaris-ips/pkginfo.bcfg2-server solaris/Makefile solaris/pkginfo.bcfg2 solaris/pkginfo.bcfg2-server src/lib/Bcfg2/Client/Tools/APT.py src/lib/Bcfg2/Client/Tools/FreeBSDInit.py src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Reporting/Collector.py src/lib/Bcfg2/Reporting/templates/base.html src/lib/Bcfg2/Server/CherrypyCore.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/FileMonitor/__init__.py src/lib/Bcfg2/Server/Lint/Validate.py src/lib/Bcfg2/Server/Lint/__init__.py src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugin/__init__.py src/lib/Bcfg2/Server/Plugins/GroupPatterns.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/Plugins/Packages/Source.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/SSHbase.py src/lib/Bcfg2/Server/Plugins/SSLCA.py src/lib/Bcfg2/version.py src/sbin/bcfg2-info src/sbin/bcfg2-test testsuite/requirements.txt
| * Make SSHbase also a Connector plugin.Alexander Sulfrian2015-01-271-0/+14
| | | | | | | | Make the public host key data avaialabe for the templates.
* | SSHbase: Use correct exception typeAlexander Sulfrian2015-05-101-3/+3
| | | | | | | | gethostbyaddr() raises socket.herror not socket.gaierror.
* | SSHbase: Fix logging callAlexander Sulfrian2015-05-101-1/+1
| | | | | | | | Use the methods of self.logger for logging messages.
* | Remove blanket excepts from plugins and lintChris St. Pierre2015-02-181-9/+8
| | | | | | | | | | | | | | | | | | | | 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.
* | Plugins: refactored out unnecessary datastore constructor argumentChris St. Pierre2013-10-291-2/+2
| |
* | fixed misc. unit testsChris St. Pierre2013-10-281-4/+2
| |
* | SSHbase: Fix print statement for python 3Sol Jerome2013-10-071-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | SSHbase: support encryption of generated ssh keysChris St. Pierre2013-10-071-5/+66
| |
* | SSHbase: Fix instantiation of KeyDataChris St. Pierre2013-08-291-19/+9
| | | | | | | | | | | | | | Fixed KeyData __init__ method for globally-accessible encoding setting in Bcfg2.Options.setup. This also cleans up the logging in SSHbase.
* | Rewrote arbitrary data cache systemChris St. Pierre2013-08-161-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | The caching facilities in Bcfg2.Server.Cache provided basically no features. This rewrites that to allow for much more powerful cache expiration, with a particular focus on interoperation between different components and plugins to let caches be expired as necessary. (E.g., the Probes plugin can expire the Metadata cache.) This does not affect any of the file data cached by Bcfg2, only the caches that are populated with arbitrary data (Metadata, Packages, Probes, etc.).
* | testsuite: fixed most pylint complaintsChris St. Pierre2013-08-091-4/+0
| |
* | Merge branch 'options-rewrite'Chris St. Pierre2013-08-081-10/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Init.py src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/BuiltinCore.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugin/base.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Cfg/__init__.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Packages/__init__.py src/lib/Bcfg2/Server/SSLServer.py src/lib/Bcfg2/Utils.py src/lib/Bcfg2/settings.py src/sbin/bcfg2-crypt src/sbin/bcfg2-info src/sbin/bcfg2-lint src/sbin/bcfg2-test src/sbin/bcfg2-yum-helper tools/bcfg2-profile-templates.py
| * | Options: migrated plugins to new options parserChris St. Pierre2013-06-271-10/+13
| | |
* | | Merge branch 'maint'Chris St. Pierre2013-08-081-1/+5
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | | | | | | | Conflicts: doc/appendix/files/mysql.txt doc/getting_started/index.txt doc/server/plugins/structures/bundler/kernel.txt src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugin/interfaces.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Probes.py src/lib/Bcfg2/Server/Plugins/SSHbase.py
| * Plugin: added new Caching interfaceChris St. Pierre2013-08-071-0/+5
| | | | | | | | | | | | | | 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.
* | Merge branch 'maint'Chris St. Pierre2013-05-171-3/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/appendix/guides/centos.txt doc/server/plugins/grouping/metadata.txt setup.py src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Client/Proxy.py src/lib/Bcfg2/Server/Lint/Genshi.py src/lib/Bcfg2/Server/Lint/Validate.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/SSHbase.py src/sbin/bcfg2-lint
| * fixed long linesChris St. Pierre2013-05-071-1/+2
| |
| * SSHbase: add support for ipv6 addresses in known_hosts fileAlexander Sulfrian2013-05-021-2/+2
| |
* | Merge branch 'maint'Chris St. Pierre2013-04-241-3/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Client/Tools/YUM.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Perf.py src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/Admin/__init__.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/FileMonitor/Fam.py src/lib/Bcfg2/Server/Lint/RequiredAttrs.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Base.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgPrivateKeyCreator.py src/lib/Bcfg2/Server/Plugins/Cvs.py src/lib/Bcfg2/Server/Plugins/Darcs.py src/lib/Bcfg2/Server/Plugins/Decisions.py src/lib/Bcfg2/Server/Plugins/FileProbes.py src/lib/Bcfg2/Server/Plugins/Fossil.py src/lib/Bcfg2/Server/Plugins/Git.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/Plugins/NagiosGen.py src/lib/Bcfg2/Server/Plugins/Packages/PackagesSources.py src/lib/Bcfg2/Server/Plugins/Packages/Source.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Properties.py src/lib/Bcfg2/Server/Plugins/__init__.py src/lib/Bcfg2/Server/__init__.py src/sbin/bcfg2-build-reports src/sbin/bcfg2-crypt testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py
| * testsuite: fixed more unit test stuffChris St. Pierre2013-03-261-1/+1
| |
| * testsuite: fixed issues found by latest version of pep8Chris St. Pierre2013-03-261-2/+3
| |
* | use Executor class for better subprocess calling on serverChris St. Pierre2013-03-141-18/+21
| |
* | added a module-level FAM object to avoid passing it as an argument a billion ↵Chris St. Pierre2013-01-171-2/+3
| | | | | | | | times
* | removed support for info/:info filesChris St. Pierre2013-01-171-1/+1
|/
* replace unintuitive reduce() calls with slightly less unintuitive chain() callsChris St. Pierre2013-01-081-8/+7
|
* SSHbase: turn down the noiseChris St. Pierre2012-11-141-2/+2
|
* SSHbase: improved error messagesChris St. Pierre2012-11-131-12/+19
|
* SSHbase: fixed invalidation of ssh_known_hosts cacheChris St. Pierre2012-11-131-4/+4
|
* SSHbase: improved error messageChris St. Pierre2012-11-131-2/+3
|
* Plugins: Update builtin plugins to use 'mode' attributeSol Jerome2012-10-151-3/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* testsuite: expanded pylint coverageChris St. Pierre2012-10-031-35/+53
|
* SSHbase: Fix known_hosts generationSol Jerome2012-08-301-1/+1
| | | | | | | Looks like s.data is already an 'str' object (in py3k) so the decode won't work. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* renamed Bcfg2Py3k to CompatChris St. Pierre2012-08-271-1/+1
|
* lots of various py3k fixesChris St. Pierre2012-08-211-8/+4
|
* PY3K: Get server code working againSol Jerome2012-05-051-5/+10
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Allow to run directly from a git checkout (#1037)Sol Jerome2012-03-241-0/+413
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>