Add a site.pp for example

As a start of documentation, add an example of site.pp.

Change-Id: Ia2b9c5fc4c6e5863e76b638a3d90860c7959a24f
This commit is contained in:
Emilien Macchi 2014-07-04 11:36:27 +02:00
parent 4a9e8e8099
commit 01caaff081

38
examples/site.pp Normal file
View File

@ -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'
}