summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Admin/Init.py
Commit message (Collapse)AuthorAgeFilesLines
* made bcfg2-admin accept -Q flag and a few others; general code cleanupChris St. Pierre2012-01-261-3/+0
|
* turn off web_debug by default, give a warning if it's onChris St. Pierre2012-01-251-2/+0
|
* Cleaned up path handling in bcfg2-admin init.Kamil Kisiel2011-09-171-12/+13
| | | | | | | Now uses absolute paths so the config file works correctly if the user inputs relative paths. Also simplified the config file template a bit as a result.
* Simplified py3k compatibility in bcfg2-admin initKamil Kisiel2011-09-171-77/+26
|
* make it clear that default list of plugins is taken from ↵anatoly techtonik2011-09-101-7/+2
| | | | Options.SERVER_PLUGINS.default
* fix chmod in "bcfg2-admin init"Joe Digilio2011-08-101-1/+1
|
* Init: Remove Base from default plugins listSol Jerome2011-06-131-2/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Revert "Init: Remove Base from default plugin list"Sol Jerome2011-06-131-0/+1
| | | | This reverts commit 611ce16c8cef81a6fc754c46dcb5cbe618b20b67.
* Init: Remove Base from default plugin listSol Jerome2011-06-091-1/+0
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Pass keypath to create_conf function.Raul Cuza2011-05-061-2/+2
|
* Add missing import.Raul Cuza2011-05-061-0/+1
|
* Fix some syntax issuesSol Jerome2011-04-271-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Admin: Add full PY3K compatibilitySol Jerome2011-04-261-2/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Init: Fix SyntaxError (Reported by emias on IRC)Sol Jerome2011-04-121-10/+3
| | | | | | | | Python < 2.6 uses the '0600' format for specifying the mode while 2.6 and later allow the use of '0o600'. Since python 3 forces the latter, we can use the stat module to maintain compatibility with both. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-admin: PY3K + PEP8 fixesSol Jerome2011-04-061-24/+92
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-admin: Fix multiple errorsSol Jerome2011-01-101-77/+85
| | | | | | | | * Handle keyboard interrupts (fixes a traceback) * Fix default plugin list (missing punctuation) * Various PEP8 fixes Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Small fixFabian Affolter2011-01-051-3/+3
| | | | | | (cherry picked from commit 0743aa20d0ee4c7b9cff50d814503e80efe6d433) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Check for country changedFabian Affolter2011-01-051-8/+13
| | | | | | (cherry picked from commit be721375800bf740a26b83291086e2504d128e98) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Country code check addedFabian Affolter2011-01-051-6/+17
| | | | | | (cherry picked from commit a8352dc470ce0b0fe3400e9818d5c58c7116adca) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Description changed to match the standard openssl namesFabian Affolter2011-01-051-5/+5
| | | | | | (cherry picked from commit 6047e808b2f0e09560442a05da870475bcd2b7ec) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Initial mistakes fixedYour name2011-01-051-7/+7
| | | | (cherry picked from commit 892e6251a65f772d2abfaecae17c4e950c6f6ac7)
* Ask for details about the keyYour name2011-01-051-6/+27
| | | | (cherry picked from commit fbabad08f4dbe98c74e55f5b6fa4a4e371fcea56)
* Plugins: Ordered defaults pluginsFabian Affolter2011-01-051-4/+11
| | | | (cherry picked from commit 99bbe3f9d130bf9939489c4cd959373b1f3ce43f)
* Plugins: Added missing pluginsFabian Affolter2011-01-051-5/+27
| | | | (cherry picked from commit 57a1e3b50e01c0c81047bea36ed862a11330d7e5)
* Changed Redhat to Red HatFabian Affolter2010-11-101-1/+1
|
* Init: fix cosmetic display for hostname prompt (fix from m4z) (Resolves ↵Narayan Desai2010-09-261-1/+1
| | | | | | Ticket #906) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6063 ce84e21b-d406-0410-9b95-82705330c041
* Init: Fix traceback from ticket #906Sol Jerome2010-08-111-4/+7
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6009 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257Fabian Affolter2010-06-071-13/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5894 ce84e21b-d406-0410-9b95-82705330c041
* Init: Increase RSA key size to 2048 for use past 2010Sol Jerome2009-12-181-1/+1
| | | | | | | | See http://www.rsa.com/blog/blog_entry.aspx?id=1192 for more information. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5623 ce84e21b-d406-0410-9b95-82705330c041
* Version bump to 1.0.0Narayan Desai2009-11-051-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5553 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin init: autogenerate self-signed cert for the serverNarayan Desai2009-11-051-11/+25
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5549 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin init: prompt in case of pre-existing bcfg2.conf (Resolves Ticket ↵Narayan Desai2009-11-051-11/+13
| | | | | | #777) (patch from cory lueninghoener) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5528 ce84e21b-d406-0410-9b95-82705330c041
* Pylint/PEP 8 Code cleanupsSol Jerome2009-10-071-16/+16
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5477 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin init: Fix __import__ call for python pre 2.5Narayan Desai2009-08-131-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5405 ce84e21b-d406-0410-9b95-82705330c041
* Merged bcfg2-admin init fixes in from my branch.Kamil Kisiel2009-07-181-126/+163
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5362 ce84e21b-d406-0410-9b95-82705330c041
* Init.py: Fix typo in intializeRepoSol Jerome2009-07-071-1/+1
| | | | | | 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
* Made fixes to Metadata, Client, and Init, and added methods for bcfg2-admin ↵James Yang2009-07-071-1/+7
| | | | | | group and bundle.x git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5312 ce84e21b-d406-0410-9b95-82705330c041
* Changed how bcfg2-admin init handles plugins and added update_client to ↵James Yang2009-06-301-15/+45
| | | | | | metadata for changes in 5305 git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5306 ce84e21b-d406-0410-9b95-82705330c041
* Fixed bug in Init.py with setting up Bcfg2-admin for the first time.James Yang2009-06-091-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5269 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2.conf updates for 1.0pre3Sol Jerome2009-06-031-3/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5267 ce84e21b-d406-0410-9b95-82705330c041
* Remove unnecessary newlines in bcfg2-admin init (Reported by m4z on irc)Sol Jerome2009-04-081-4/+2
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5156 ce84e21b-d406-0410-9b95-82705330c041
* Remove some FIXMEs in bcfg2-admin initSol Jerome2009-03-161-10/+15
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5124 ce84e21b-d406-0410-9b95-82705330c041
* os.popen is deprecated in 2.6 (http://docs.python.org/library/os.html#os.popen)Sol Jerome2009-02-201-5/+14
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5088 ce84e21b-d406-0410-9b95-82705330c041
* Ask before overwriting existing bcfg2 repos in bcfg2-admin initSol Jerome2009-02-191-22/+30
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5087 ce84e21b-d406-0410-9b95-82705330c041
* Update Init.py for new bcfg2.conf layoutSol Jerome2009-02-111-7/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5073 ce84e21b-d406-0410-9b95-82705330c041
* Fix ssl key generation (Resolves Ticket #606)Narayan Desai2008-10-241-2/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4951 ce84e21b-d406-0410-9b95-82705330c041
* Add DBStats and fingerprint information to bcfg2.confSol Jerome2008-09-221-0/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4917 ce84e21b-d406-0410-9b95-82705330c041
* Improve help messages for bcfg2-admin (and modes)Sol Jerome2008-09-121-9/+16
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4910 ce84e21b-d406-0410-9b95-82705330c041
* Make autocreated basic group publicNarayan Desai2008-06-161-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4699 ce84e21b-d406-0410-9b95-82705330c041
* Fix permissions fixup in init modeNarayan Desai2008-06-151-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4697 ce84e21b-d406-0410-9b95-82705330c041