2 # Installs keystone from source. This is not yet fully implemented
7 # (optional) The source dire for dev installation
8 # Defaults to '/usr/local/keystone'
14 # Dan Bode dan@puppetlabs.com
18 # Copyright 2012 Puppetlabs Inc, unless otherwise noted.
20 class keystone::dev::install(
21 $source_dir = '/usr/local/keystone'
23 # make sure that I have python 2.7 installed
25 Class['openstack::dev'] -> Class['keystone::dev::install']
27 # there are likely conficts with other packages
28 # introduced by these resources
42 vcsrepo { $source_dir:
45 source => 'git://github.com/openstack/keystone.git',
52 subscribe => Vcsrepo[$source_dir],
54 # I have disabled timeout since this seems to take forever
55 # this may be a bad idea :)
59 # TODO - really, I need a way to take this file and
60 # convert it into package resources
61 exec { 'install_dev_deps':
62 command => 'pip install -r tools/pip-requires',
65 exec { 'install_keystone_source':
66 command => 'python setup.py develop',
67 require => Exec['install_dev_deps'],