Doug Hellmann
2340c1c589
Move package-specific logic into custom package manager classes
...
and allow the distro file to specify when to use them. There
are two examples, one for Rabbit on Oneiric and another more general
for managing symlinks needed after installing a package with
Yum.
2012-03-23 16:48:43 -04:00
Doug Hellmann
679f33b242
Make all of the packager method signatures consistent by moving the loops for pre_install and post_install into the component method where the packager is invoked.
...
Have the component get a packager for each package and use that, falling back to a default provided by the distro. This will allow us to override the packaging rules for specific packages by providing a class reference in the distro file.
2012-03-23 16:46:15 -04:00
Doug Hellmann
eb68327cbb
pep8 changes
2012-03-23 16:46:14 -04:00
Doug Hellmann
0ae7ff4b2b
Move the keep_old flag out of the packager and let the component check it.
2012-03-23 16:46:14 -04:00
Joshua Harlow
42c6cdc3b8
Merge pull request #135 from harlowja/master
...
Re-add and just unset in euca.sh
2012-03-22 19:28:58 -07:00
Joshua Harlow
76f02b8dd1
Just unset these for euca ec2 tasks
2012-03-22 17:15:45 -07:00
Joshua Harlow
0c4b2be2f0
Merge pull request #134 from harlowja/master
...
More fixes for ec2 variables not working
2012-03-22 17:00:06 -07:00
Joshua Harlow
95e909cbff
More fixes for ec2 variables not working
2012-03-22 16:59:25 -07:00
Joshua Harlow
ca59acc05e
Merge pull request #133 from harlowja/master
...
Comment out exporting keystone vars
2012-03-22 16:46:24 -07:00
Joshua Harlow
ef1902e925
Seems like we can't have the keystone services exported as env variables
2012-03-22 16:45:12 -07:00
Joshua Harlow
d578eb624d
Fixing this
2012-03-22 11:34:30 -07:00
Joshua Harlow
5d7753c199
Merge pull request #132 from harlowja/master
...
Resynch with v1.
2012-03-22 11:21:40 -07:00
Joshua Harlow
d08b8c0d1d
Resync with devstack.sh, issue #75
2012-03-22 11:19:30 -07:00
Joshua Harlow
4a04a5b0cd
Merge pull request #131 from harlowja/master
...
Dougs comment re-works, making libvirt util a class, add in keystone vars to env as misc section.
2012-03-22 10:57:13 -07:00
Joshua Harlow
d77b5984d8
Add in a misc var env section
2012-03-22 10:48:57 -07:00
Joshua Harlow
d2eeea4d32
Dougs recommended fixups. Thx Doug.
2012-03-22 10:42:21 -07:00
Joshua Harlow
3903e1aa82
Class'ify' libvirt util
2012-03-21 23:33:36 -07:00
Joshua Harlow
fc81122b7a
Merge pull request #129 from dreamhost/actionrunner-subclasses
...
ActionRunner subclasses
2012-03-21 15:52:48 -07:00
Doug Hellmann
a8780f0dac
reorg yaml file to make it easier to not pass some component metadata to component constructors
2012-03-21 18:11:08 -04: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
1d27275c08
Merge pull request #128 from harlowja/master
...
Resync with v1
2012-03-21 10:51:32 -07:00
Joshua Harlow
69de077672
Resync past configs with devstack.sh v1, issue #75
2012-03-21 10:51:02 -07:00
Joshua Harlow
835ee03fa0
Merge pull request #127 from dreamhost/use-strings-for-commands
...
Switch all of the commands in YAML files to simple strings
2012-03-21 10:26:40 -07:00
Doug Hellmann
cefd378401
Switch all of the commands in YAML files to simple strings and
...
parse them into lists in the code that fetches commands from
the config.
2012-03-21 11:59:03 -04:00
Joshua Harlow
462eee3a99
Merge pull request #126 from harlowja/master
...
Fixing up rhel policy kit that was missing + keystone logging target filename change.
2012-03-20 16:22:50 -07:00
Joshua Harlow
54da76edb0
Fix libvirt policy kit file that was commented out
2012-03-20 16:20:04 -07:00
Gunther Hagleitner
3b136f2e5e
Merge pull request #125 from hagleitn/master
...
ec2 keystone roles
2012-03-19 21:38:53 -07:00
Gunther Hagleitner
88d3effc70
adding ec2 roles to keystone_init.sh. w/o those runinstances fails.
2012-03-19 21:35:41 -07:00
Joshua Harlow
e072ef0775
Merge pull request #124 from harlowja/master
...
Fix libguestfs versions
2012-03-19 16:49:12 -07:00
Joshua Harlow
f896d97509
Updated to have right version here
2012-03-19 16:47:49 -07:00
Joshua Harlow
2350495c23
Merge pull request #123 from harlowja/master
...
Resync with shell script
2012-03-19 13:58:43 -07:00
Joshua Harlow
cd724c3d6b
Resync with devstack.sh v1, seems like confs were updated and horizon no longer needs to link to the quantum client directory, yippe.
...
Issue #75
2012-03-19 13:57:19 -07:00
Joshua Harlow
5cfec413fe
Merge pull request #122 from harlowja/master
...
Fix git command references!
2012-03-19 13:39:11 -07:00
Joshua Harlow
4276fdae52
Fix distro command references usage during downloads. Darn u python
2012-03-19 13:38:15 -07:00
Joshua Harlow
cc59ddd69d
Show what is being fetched
2012-03-19 13:36:14 -07:00
Joshua Harlow
88d8e15037
Merge pull request #121 from harlowja/master
...
Added fedora git commands
2012-03-19 13:15:41 -07:00
Joshua Harlow
16526fc4be
Added fedora git commands
2012-03-19 13:14:35 -07:00
Joshua Harlow
a03ffd73cf
Merge branch 'master' of git://github.com/harlowja/Openstack-DevstackPy into harlowja-master
...
Conflicts:
devstack/components/rabbit.py
2012-03-19 13:11:19 -07:00
Joshua Harlow
7622e95d7e
Made the git commands use the distro class/conf
2012-03-19 13:07:27 -07:00
Joshua Harlow
928ece372b
Merge pull request #119 from dreamhost/distro-work-libvirt-rabbit-956265
...
move libvirt and rabbitmq commands to yaml file
2012-03-19 12:49:33 -07:00
Joshua Harlow
f1cfd31fe8
Fixed spelling
2012-03-19 11:27:10 -07:00
Joshua Harlow
2aea69a71f
Moved to central dir, since people will be using this alot...
2012-03-19 11:24:45 -07:00
Joshua Harlow
ac8e8ef2bf
Forgot progressbar
2012-03-19 10:23:21 -07:00
Doug Hellmann
4421913c8a
move rabbit-mq commands into yaml files
2012-03-19 13:15:13 -04:00
Doug Hellmann
46ac3c8207
finish moving libvirt commands into yaml files
2012-03-19 13:15:13 -04:00
Doug Hellmann
bdd2360aab
name component consistently
2012-03-19 13:15:13 -04:00
Doug Hellmann
7d76615a7e
remove obsolete setting
2012-03-19 13:15:09 -04:00
Joshua Harlow
a0480b3371
Merge branch 'master' of github.com:harlowja/Openstack-DevstackPy
2012-03-19 10:03:10 -07:00
Joshua Harlow
bee1f55cbe
Make a tempdir context manager function
2012-03-18 22:26:01 -07:00
Joshua Harlow
a2fc6a8c2d
Use reverse bar on uninstalls...
2012-03-18 21:18:37 -07:00