Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added Plugin.call() method that calls an external executable via ↵ | Jason Gerard DeRose | 2008-11-06 | 1 | -0/+11 | |
| | | | | subprocess.call() | |||||
* | Fix some problems uncovered during automation test work | Rob Crittenden | 2008-11-04 | 1 | -6/+17 | |
| | ||||||
* | Revive the hostgroup_container and include add/remove hosts in hostgroups plugin | Rob Crittenden | 2008-11-04 | 2 | -2/+27 | |
| | ||||||
* | Add 'all' option to host-find and pull attributes into a global list | Rob Crittenden | 2008-11-04 | 1 | -1/+9 | |
| | ||||||
* | Move socket errors from the XML-RPC plugin to the client | Rob Crittenden | 2008-11-03 | 2 | -1/+5 | |
| | ||||||
* | Handle exceptions in the command-line instead of in the XMLRPC client plugin | Rob Crittenden | 2008-11-03 | 2 | -8/+11 | |
| | ||||||
* | Uncomment some logging statements ported over from v1. | Rob Crittenden | 2008-11-03 | 3 | -4/+4 | |
| | ||||||
* | Partially revert back change. Del shouldn't provide default options. | Rob Crittenden | 2008-11-03 | 1 | -2/+0 | |
| | | | | It can provide custom ones though, if defined with takes_params() in the class. | |||||
* | Added custom log formatter util.LogFormatter that makes the human-readable ↵ | Jason Gerard DeRose | 2008-10-31 | 3 | -4/+13 | |
| | | | | time stamp in UTC | |||||
* | Renamed API.bootstrap_from_options() to bootstrap_with_global_options() | Jason Gerard DeRose | 2008-10-31 | 2 | -8/+5 | |
| | ||||||
* | Logging formats are now env variables; added log_format_stderr_debug format ↵ | Jason Gerard DeRose | 2008-10-31 | 3 | -28/+43 | |
| | | | | used when env.debug is True | |||||
* | Reoganized global option functionality to it is easy for any script to use ↵ | Jason Gerard DeRose | 2008-10-31 | 3 | -20/+58 | |
| | | | | the environment-related global options; lite-xmlrpc.py now uses same global options | |||||
* | Logging is now configured in API.bootstrap(); removed depreciated ↵ | Jason Gerard DeRose | 2008-10-31 | 2 | -42/+43 | |
| | | | | util.configure_logging() function | |||||
* | API.finalize() now cascades call to API.load_plugins() | Jason Gerard DeRose | 2008-10-31 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'master' of ↵ | Jason Gerard DeRose | 2008-10-30 | 2 | -0/+479 | |
|\ | | | | | | | git://git.engineering.redhat.com/users/rcritten/freeipa2 | |||||
| * | Initial implementation of automount support | Rob Crittenden | 2008-10-30 | 2 | -0/+479 | |
| | | | | | | | | | | Add argument handling to crud.Del Make get_list handle LDAP scope | |||||
* | | Plugin.set_api() now sets convience instance attributes from api for env, ↵ | Jason Gerard DeRose | 2008-10-30 | 1 | -1/+10 | |
|/ | | | | context, log, and all NameSpace | |||||
* | Added ipalib.plugins.f_misc with new 'context' Command; moved 'env' Command ↵ | Jason Gerard DeRose | 2008-10-30 | 3 | -18/+76 | |
| | | | | from cli to f_misc | |||||
* | Added tests.util.get_api() function to create a standard (api, home) tuple ↵ | Jason Gerard DeRose | 2008-10-30 | 1 | -5/+3 | |
| | | | | for unit testing | |||||
* | Did some initial work for Context plugins | Jason Gerard DeRose | 2008-10-30 | 4 | -13/+51 | |
| | ||||||
* | Merge branch 'master' of ↵ | Jason Gerard DeRose | 2008-10-29 | 5 | -1/+337 | |
|\ | | | | | | | git://git.engineering.redhat.com/users/rcritten/freeipa2 | |||||
| * | Implement host groups | Rob Crittenden | 2008-10-27 | 2 | -0/+329 | |
| | | ||||||
| * | Fix comment | Rob Crittenden | 2008-10-27 | 1 | -1/+1 | |
| | | ||||||
| * | Don't allow service-add to create host/ principals | Rob Crittenden | 2008-10-24 | 2 | -0/+7 | |
| | | ||||||
* | | Added an example CLI-specific env command | Jason Gerard DeRose | 2008-10-28 | 1 | -0/+16 | |
| | | ||||||
* | | lite-xmlrpc.py now uses api.bootstrap() property, logs to api.logger | Jason Gerard DeRose | 2008-10-28 | 3 | -4/+4 | |
| | | ||||||
* | | util.configure_logging() now only configures file logging if it can create ↵ | Jason Gerard DeRose | 2008-10-28 | 1 | -5/+7 | |
| | | | | | | | | the log_dir | |||||
* | | Added util.configure_logging() function; API.bootstrap() now calls ↵ | Jason Gerard DeRose | 2008-10-28 | 4 | -2/+59 | |
| | | | | | | | | util.configure_logging() | |||||
* | | Fixed use of depreciated env.get() in b_xmlrpc.py module | Jason Gerard DeRose | 2008-10-27 | 1 | -10/+13 | |
| | | ||||||
* | | API.load_plugins() no longer takes dry_run=False kwarg and instead checks in ↵ | Jason Gerard DeRose | 2008-10-27 | 2 | -4/+5 | |
| | | | | | | | | env.mode == 'unit_test' to decide whether to load the plugins; it also only loads ipa_server.plugins in env.in_server is True | |||||
* | | More CLI cleanup, got all basics working again | Jason Gerard DeRose | 2008-10-27 | 2 | -70/+71 | |
| | | ||||||
* | | More docstrings, functionality, and unit tests for improved CLI class | Jason Gerard DeRose | 2008-10-27 | 2 | -81/+166 | |
| | | ||||||
* | | API.bootstrap() now calls Env._finalize_core(); updated unit tests | Jason Gerard DeRose | 2008-10-27 | 1 | -0/+1 | |
| | | ||||||
* | | Implemented basic CLI.bootstrap(); added corresponding unit tests | Jason Gerard DeRose | 2008-10-27 | 2 | -23/+15 | |
| | | ||||||
* | | Started cleanup work on CLI class, added unit tests for CLI.parse_globals() | Jason Gerard DeRose | 2008-10-27 | 1 | -1/+2 | |
| | | ||||||
* | | Started cleanup work on CLI class, added unit tests for CLI.parse_globals() | Jason Gerard DeRose | 2008-10-27 | 1 | -48/+69 | |
| | | ||||||
* | | API.env is now an Env instance rather than an Environment instance | Jason Gerard DeRose | 2008-10-27 | 2 | -3/+4 | |
| | | ||||||
* | | Env._finalize_core() now also loads config from Env.conf_default | Jason Gerard DeRose | 2008-10-27 | 1 | -0/+2 | |
| | | ||||||
* | | Env._bootstrap() now also sets Env.conf_default | Jason Gerard DeRose | 2008-10-27 | 2 | -6/+9 | |
| | | ||||||
* | | Removed depreciated load_plugins.py module; changed all places where ↵ | Jason Gerard DeRose | 2008-10-27 | 1 | -82/+0 | |
| | | | | | | | | load_plugins was imported to now call api.load_plugins() | |||||
* | | Copied plugin loading function from load_plugins.py to util.py; ↵ | Jason Gerard DeRose | 2008-10-27 | 2 | -0/+56 | |
| | | | | | | | | API.load_plugins() method now calls functions in util | |||||
* | | Added API.load_plugins() place-holder, which cascades call to API.bootstrap() | Jason Gerard DeRose | 2008-10-26 | 1 | -0/+13 | |
| | | ||||||
* | | Implemented placeholder API.bootstrap() method; added API __doing(), ↵ | Jason Gerard DeRose | 2008-10-26 | 1 | -2/+23 | |
| | | | | | | | | __do_if_not_done(), isdone() methods borrowed from Env; API.finalize() now cascades call to API.bootstrap() | |||||
* | | Added more needed config in DEFAULT_CONFIG | Jason Gerard DeRose | 2008-10-24 | 1 | -4/+31 | |
| | | ||||||
* | | Finished Env._finalize() and corresponding unit tests | Jason Gerard DeRose | 2008-10-24 | 1 | -4/+10 | |
| | | ||||||
* | | Finished Env._finalize_core() and corresponding unit tests | Jason Gerard DeRose | 2008-10-24 | 2 | -14/+86 | |
| | | ||||||
* | | Env._bootstrap() now raises StandardError if called more than once | Jason Gerard DeRose | 2008-10-24 | 1 | -0/+9 | |
| | | ||||||
* | | Merge branch 'master' of ↵ | Jason Gerard DeRose | 2008-10-24 | 3 | -7/+28 | |
|\| | | | | | | | git://git.engineering.redhat.com/users/rcritten/freeipa2 | |||||
| * | Use posixAccount instead of person to identify users | Rob Crittenden | 2008-10-24 | 2 | -3/+9 | |
| | | | | | | | | Add output_for_cli to service-find | |||||
| * | If a password is supplied then this host will be bulk-enrolled | Rob Crittenden | 2008-10-24 | 1 | -4/+19 | |
| | | | | | | | | | | A bulk-enrolled host does not get a kerberos service principal until enrollment time. |