summaryrefslogtreecommitdiffstats
path: root/ipalib/config.py
Commit message (Collapse)AuthorAgeFilesLines
* Let the framework be able to override the hostname.Rob Crittenden2011-06-231-4/+0
| | | | | | | | | | | | | | | | | | The hostname is passed in during the server installation. We should use this hostname for the resulting server as well. It was being discarded and we always used the system hostname value. Important changes: - configure ipa_hostname in sssd on masters - set PKI_HOSTNAME so the hostname is passed to dogtag installer - set the hostname when doing ldapi binds This also reorders some things in the dogtag installer to eliminate an unnecessary restart. We were restarting the service twice in a row with very little time in between and this could result in a slew of reported errors, though the server installed ok. ticket 1052
* Don't perform some API self-tests in production mode for performance reasonsRob Crittenden2011-01-281-0/+3
| | | | | | | | | | | | The API does a fair number of self tests and locking to assure that the registered commands are consistent and will work. This does not need to be done on a production system and adds additional overhead causing somewhere between a 30 and 50% decrease in performance. Because makeapi is executed when a build is done ensure that it is executed in developer mode to ensure that the framework is ok. ticket 751
* Change FreeIPA license to GPLv3+Jakub Hrozek2010-12-201-5/+5
| | | | | | | | | | The changes include: * Change license blobs in source files to mention GPLv3+ not GPLv2 only * Add GPLv3+ license text * Package COPYING not LICENSE as the license blobs (even the old ones) mention COPYING specifically, it is also more common, I think https://fedorahosted.org/freeipa/ticket/239
* Add Requires on ipa-client to ipa-admintools, ensure ipa client is configuredRob Crittenden2010-10-151-0/+2
| | | | | | | | | | It makes little sense to install ipa-admintools without ipa-client, require it. Also see if the client has been configured. This is a bit tricky since we have a full set of defaults. Add a new env option that gets set if at least one configuration file is loaded. ticket 213
* Fix unicode failures in Env tests and dn failures in XML-RPC testsRob Crittenden2010-02-261-8/+8
|
* Use unicode instead of str for environmental variables in Env.Pavel Zuna2010-02-191-2/+4
|
* Allow one-character Param namesRob Crittenden2010-02-121-2/+2
| | | | This is done explicitly to support the l/localityname attribute.
* Use the FQDN and not just the hostname internally.Rob Crittenden2009-10-161-2/+2
|
* Added Param 'include' and 'exclude' kwargs; added frontend.UsesParams base ↵Jason Gerard DeRose2009-05-191-1/+3
| | | | class with methods implementing the filtering to restrict params to only certain contexts
* Force xmlrpc tests to run with in_tree=True so config files in /etc/ipa/ ↵Jason Gerard DeRose2009-05-111-23/+60
| | | | don't get read; cleaned up config.Env automagic with regard to running in-tree vs. installed
* Finished small tweaks to get new ipaserver.xmlrpc() mod_python handler workingJason Gerard DeRose2009-02-031-1/+0
|
* Started work on a much simplified mod_python serverJason Gerard DeRose2009-02-031-2/+7
|
* Added ca_host, ca_port, and ca_ssl_port Env variables that Andrew requestedJason Gerard DeRose2009-02-031-0/+4
|
* A few docstring improvements in EnvJason Gerard DeRose2009-01-051-10/+20
|
* Added a bit to config.Env docstring about that variable names must pass ↵Jason Gerard DeRose2009-01-021-0/+14
| | | | check_name() function
* Fixed Env._bootstrap() docstring typoJason Gerard DeRose2008-12-301-1/+1
|
* Env now supports float valuesJason Gerard DeRose2008-12-301-6/+15
|
* Added my name to Athors of config.pyJason Gerard DeRose2008-12-301-0/+1
|
* More docstring cleanup in ipalib.configJason Gerard DeRose2008-12-301-13/+37
|
* Docstring cleanup in the Env bootstraping methodsJason Gerard DeRose2008-12-301-37/+86
|
* Started moving some core classes and functions from plugable.py to new ↵Jason Gerard DeRose2008-12-301-27/+54
| | | | base.py module
* Renamed Env._merge_config() to Env._merge_from_file()Jason Gerard DeRose2008-12-291-3/+3
|
* Yet more small docstring cleanup in EnvJason Gerard DeRose2008-12-231-4/+5
|
* More docstring cleanup in Env and its methodsJason Gerard DeRose2008-12-231-9/+20
|
* Finished Env class docstring; more organizational cleanup in Env and its ↵Jason Gerard DeRose2008-12-231-60/+99
| | | | unit tests
* Moved setting of run-time variables from Env.__init__() to Env._bootstrap()Jason Gerard DeRose2008-12-221-13/+19
|
* Some more reorganization in Env and added class docstring to Env with lots ↵Jason Gerard DeRose2008-12-221-16/+104
| | | | of examples
* Cleaned up Env.__setattr__() and Env.__setitem__() a bit updated their unit ↵Jason Gerard DeRose2008-12-221-33/+40
| | | | tests
* The Env.__setitem__() implied conversion is now case sensitive; ↵Jason Gerard DeRose2008-12-221-11/+13
| | | | Env.__setitem__() now also accepts None as a value
* Removed Env.__getattr__(); Env no longer accepts callables for values (no ↵Jason Gerard DeRose2008-12-221-27/+11
| | | | more dynamic/lazy values)
* Removed depreciated code from config.py; removed corresponding unit testsJason Gerard DeRose2008-12-221-280/+1
|
* Added 'conf_dir' env variable, which is directory containing config filesJason Gerard DeRose2008-11-101-0/+2
|
* Finished fist draft of plugin tutorial in ipalib/__init__.py docstringJason Gerard DeRose2008-11-071-3/+9
|
* Merge branch 'master' of ↵Jason Gerard DeRose2008-10-291-0/+1
|\ | | | | | | git://git.engineering.redhat.com/users/rcritten/freeipa2
| * Implement host groupsRob Crittenden2008-10-271-0/+1
| |
* | Env._finalize_core() now also loads config from Env.conf_defaultJason Gerard DeRose2008-10-271-0/+2
| |
* | Env._bootstrap() now also sets Env.conf_defaultJason Gerard DeRose2008-10-271-5/+7
| |
* | Finished Env._finalize() and corresponding unit testsJason Gerard DeRose2008-10-241-4/+10
| |
* | Finished Env._finalize_core() and corresponding unit testsJason Gerard DeRose2008-10-241-13/+49
| |
* | Env._bootstrap() now raises StandardError if called more than onceJason Gerard DeRose2008-10-241-0/+9
| |
* | Added ipalib/constants.py; added Env._load_config() method along with ↵Jason Gerard DeRose2008-10-241-3/+78
| | | | | | | | comprehensive unit tests for same
* | Finished doodle with stricter version of EnvironmentJason Gerard DeRose2008-10-241-0/+87
|/
* Fix ipa command running in server_context=TrueRob Crittenden2008-10-231-0/+2
| | | | | | Make the LDAP host and port environment variables More changes so that commands have a shell return value lite-xmlrpc no longer hardcodes the kerberos credentials cache location
* Implement the host commandsRob Crittenden2008-10-221-0/+1
| | | | | In order for this to work against a v1 database the update host.update needs to be applied
* Add comments in config.py and fix Environment.get()Martin Nagy2008-10-201-2/+52
|
* Reworking Environment, moved it to config.pyMartin Nagy2008-10-171-46/+165
|
* Port user-show to new CrudBackend frameworkRob Crittenden2008-10-141-0/+3
|
* Convert string values to boolean when generating environmentMartin Nagy2008-10-141-10/+28
|
* Added ldap.get_user_dn() methodJason Gerard DeRose2008-10-141-1/+3
|
* Implement argument parsing for the CLIMartin Nagy2008-10-081-3/+7
|