puppet-openstack-integration/manifests/trove.pp
Emilien Macchi 20997774ba trove: use version-less endpoints
1/ configure auth_uri / identity_uri new parameters in puppet-trove
2/ use version-less endpoints like we try to do in other services.

Change-Id: I6deb3db4cb5d6ca534d780a2262c52b2adfd1b83
Depends-On: I66d5233c8981763a0a341740911fb24dd0e8d479
2016-01-20 16:39:18 -05:00

51 lines
1.4 KiB
Puppet

class openstack_integration::trove {
rabbitmq_user { 'trove':
admin => true,
password => 'an_even_bigger_secret',
provider => 'rabbitmqctl',
require => Class['::rabbitmq'],
}
rabbitmq_user_permissions { 'trove@/':
configure_permission => '.*',
write_permission => '.*',
read_permission => '.*',
provider => 'rabbitmqctl',
require => Class['::rabbitmq'],
}
class { '::trove':
database_connection => 'mysql+pymysql://trove:trove@127.0.0.1/trove?charset=utf8',
rabbit_userid => 'trove',
rabbit_password => 'an_even_bigger_secret',
rabbit_host => '127.0.0.1',
nova_proxy_admin_pass => 'a_big_secret',
}
class { '::trove::db::mysql':
password => 'trove',
}
class { '::trove::keystone::auth':
password => 'a_big_secret',
}
class { '::trove::api':
keystone_password => 'a_big_secret',
auth_uri => 'http://127.0.0.1:5000/',
identity_uri => 'http://127.0.0.1:35357/',
debug => true,
verbose => true,
workers => 2,
}
class { '::trove::client': }
class { '::trove::conductor':
debug => true,
verbose => true,
auth_url => 'http://127.0.0.1:5000/',
}
class { '::trove::taskmanager':
debug => true,
verbose => true,
auth_url => 'http://127.0.0.1:5000/',
}
}