diff --git a/examples/site.pp b/examples/site.pp new file mode 100644 index 00000000..b9ecee52 --- /dev/null +++ b/examples/site.pp @@ -0,0 +1,38 @@ +# This is an example of site.pp to deploy Trove + +class { 'trove::client': } + +class { 'trove::keystone::auth': + admin_address => '10.0.0.1', + internal_address => '10.0.0.1', + public_address => '10.0.0.1', + password => 'verysecrete', + region => 'OpenStack' +} + +class { 'trove::db::mysql': + password => 'dbpass', + host => '10.0.0.1', + allowed_hosts => '10.0.0.1' +} + +class { 'trove': + database_connection => 'mysql://trove:secrete@10.0.0.1/trove?charset=utf8', + rabbit_hosts => '10.0.0.1', + rabbit_password => 'secrete', + nova_proxy_admin_pass => 'novapass', +} + +class { 'trove::api': + bind_host => '10.0.0.1', + auth_url => 'https://identity.openstack.org:5000/v2.0', + keystone_password => 'verysecrete' +} + +class { 'trove::conductor': + auth_url => 'https://identity.openstack.org:5000/v2.0' +} + +class { 'trove::taskmanager': + auth_url => 'https://identity.openstack.org:5000/v2.0' +}