39 Commits

Author SHA1 Message Date
Joshua Harlow
3903e1aa82 Class'ify' libvirt util 2012-03-21 23:33:36 -07:00
Doug Hellmann
931b896cc1 Split the action runner into several subclasses and move the logic
for each action into the appropriate subclass.
2012-03-21 18:10:13 -04:00
Joshua Harlow
57a746ed2e Add in persona that should always exist 2012-03-17 13:35:51 -07:00
Joshua Harlow
b69701f0ec Massive comment cleanup 2012-03-15 23:10:15 -07:00
Joshua Harlow
a20a06edac Initial attempt/work for personas 2012-03-15 16:53:50 -07:00
Joshua Harlow
bd7fbd5474 Reverted back to using set through for password configs, also fixes issue #90, other teenie cleanups 2012-03-15 00:38:30 -07:00
Mike Perez
a8f835fd25 default install dir shall be ~/openstack 2012-03-13 16:08:20 -07:00
Joshua Harlow
6e4382cb42 Made it so that the config uses a shared cache (which is shared with the password gen).
Adjusted some naming to have slightly shorter variable names (pw_gen).
Removed need for section in password generator.
Adjusted passing of the renamed variable around and the other places pw_gen should be used.

Added helper class that can be used by both pw_gen and cfg to get ids and adjusted print out of the config to
now just print out the shared cache, which seems to make sense to me.
2012-03-12 21:03:08 -07:00
Joshua Harlow
2ac8cd7aee Merge branch 'force-generate-passwords-73' of git://github.com/dreamhost/Openstack-DevstackPy into dreamhost-force-generate-passwords-73
Conflicts:
	devstack/shell.py
	stack
2012-03-12 15:51:41 -07:00
Joshua Harlow
0cacee8bc8 Use store_true instead of const here 2012-03-12 15:36:13 -07:00
Doug Hellmann
0018c7cccf Move the password generation logic to its own class and out of the config
parser to cut down on the number of places that have component-specific
configuration knowledge.

Add a --no-prompt-passwords flag to stack for users that want
auto-generated passwords without having to press enter for each
one.

Pork:
- Ignore the emacs TAGS file.
2012-03-12 18:31:57 -04:00
Ken Thomas
ead95b34bc Added '--dryrun' option for install/uninstall
Fixes issue #72
2012-03-12 12:44:38 -07:00
Doug Hellmann
e5791eaa34 add a -v command line switch to increase output verbosity 2012-03-07 17:44:25 -05:00
Joshua Harlow
5041f3a0c5 Fixed pep8 warning. 2012-02-29 14:24:04 -08:00
Joshua Harlow
5359fa8966 Some cleanups around environment variables made. 2012-02-29 14:23:03 -08:00
Joshua Harlow
e5fa06494c Added debug to show what options extracted. 2012-02-29 13:30:55 -08:00
Joshua Harlow
a02fa9d3fc Fixing default options. 2012-02-29 12:46:07 -08:00
Joshua Harlow
4be2d8437a Removed describe methods. 2012-02-09 20:44:49 -08:00
Joshua Harlow
30819845f8 Updated with no-force which makes more sense here. 2012-02-09 18:18:40 -08:00
Ken Thomas
7509a9b996 Cleaned up some of the easy pylint warnings (e.g. unused import/variables) 2012-02-07 09:04:59 -08:00
Joshua Harlow
8fe44c4f3e More gunther adjustments. 2012-02-06 12:13:00 -08:00
Joshua Harlow
872c41482f Fixing up gunthers new adjustments. 2012-02-06 11:20:24 -08:00
Gunther Hagleitner
c5b9a4119d force script to be run as root and then switch between root/user as needed 2012-02-06 02:37:17 -08:00
Joshua Harlow
bfbfc75eea Fixed the default action, start isn't really the right default. 2012-02-03 12:30:52 -08:00
Gunther Hagleitner
91cfa34176 default directory '/opt/stack' default action 'start' 2012-02-02 22:03:20 -08:00
Joshua Harlow
950e958474 Moved util programs to utils... 2012-02-02 13:20:59 -08:00
Gunther Hagleitner
f98c330f8f don't install packages if you don't want to (--keep_packages) 2012-01-27 17:42:56 -08:00
Joshua Harlow
3335975e36 Added new ability to specify the network interface and changes for this.
Made force mode by default on (since I think this is what people will want).
2012-01-26 15:12:39 -08:00
Joshua Harlow
31252f87ee Copyrights are fun (not). 2012-01-26 12:54:36 -08:00
Joshua Harlow
15f9e5501c Added it so that components can describe what they do and what options they have. 2012-01-25 20:05:36 -08:00
Gunther Hagleitner
51af36e000 if(..): --> if ..:
sigh.
2012-01-25 12:59:12 -08:00
Joshua Harlow
65ee3e9452 Some pylint fixups and creating the instances before actions happen so that instances later in the dependency list could call methods on the previous actions, ie to get a config location. This will be useful for novnc and possibly others. 2012-01-23 22:05:53 -08:00
Joshua Harlow
687551a694 Renamed constants to settings which is more appropriate.
Had a little fun with figlet :-)
2012-01-22 16:09:47 -08:00
Joshua Harlow
d11bdd9f6c Another help update which I think is clearer. 2012-01-22 12:38:10 -08:00
Joshua Harlow
39be678de3 Split up the main stack into 2 different running modules (which is cleaner) and fixed various pep8 warnings. 2012-01-21 21:24:41 -08:00
Joshua Harlow
05ddbd2681 Updated options with option groups and some other small cleanups. 2012-01-21 20:18:22 -08:00
Joshua Harlow
938c4517d6 Exchanged keystone having all the keystone manage commands in python for having them in a json file with docs.
Updated large amount of stack.ini comments. Small updates to other files. Main stack had some cleanup and moving around of functions/names.
2012-01-21 19:36:00 -08:00
Joshua Harlow
53d00e3e1c Showing that ensure deps is the default. 2012-01-20 19:31:38 -08:00
Joshua Harlow
0b46c02ac8 Large amount of renaming and cleanups to make everything much more pythonic. Yippe. 2012-01-20 14:12:20 -08:00