2 # Installs keystone from source. This is not yet fully implemented
8 # Dan Bode dan@puppetlabs.com
12 # Copyright 2012 Puppetlabs Inc, unless otherwise noted.
14 class keystone::dev::install(
15 $source_dir = '/usr/local/keystone'
17 # make sure that I have python 2.7 installed
19 Class['openstack::dev'] -> Class['keystone::dev::install']
21 # there are likely conficts with other packages
22 # introduced by these resources
36 vcsrepo { $source_dir:
39 source => 'git://github.com/openstack/keystone.git',
46 subscribe => Vcsrepo[$source_dir],
48 # I have disabled timeout since this seems to take forever
49 # this may be a bad idea :)
53 # TODO - really, I need a way to take this file and
54 # convert it into package resources
55 exec { 'install_dev_deps':
56 command => 'pip install -r tools/pip-requires',
59 exec { 'install_keystone_source':
60 command => 'python setup.py develop',
61 require => Exec['install_dev_deps'],