64f22889c8
The class was deprecated during the previous cycle[1] for renaming to the trove::service_credentials class. [1] 80a89f49a0f44d8deba8f50e6582d9acafac7cdd Change-Id: Ica9f192337b654200024acc3b3fefb0dcab6e57d
53 lines
1.2 KiB
Puppet
53 lines
1.2 KiB
Puppet
# 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',
|
|
default_transport_url => 'rabbit://trove:an_even_bigger_secret@10.0.0.1:5672/trove',
|
|
}
|
|
|
|
class { 'trove::service_credentials':
|
|
password => 'verysecrete',
|
|
}
|
|
|
|
class { 'trove::conductor::service_credentials':
|
|
password => 'verysecrete',
|
|
}
|
|
|
|
class { 'trove::task_manager::service_credentials':
|
|
password => 'verysecrete',
|
|
}
|
|
|
|
class { 'trove::guestagent::service_credentials':
|
|
password => 'verysecrete',
|
|
}
|
|
|
|
class { 'trove::api':
|
|
bind_host => '10.0.0.1',
|
|
auth_url => 'https://identity.openstack.org:5000/v3',
|
|
keystone_password => 'verysecrete'
|
|
}
|
|
|
|
class { 'trove::conductor':
|
|
auth_url => 'https://identity.openstack.org:5000/v3'
|
|
}
|
|
|
|
class { 'trove::taskmanager':
|
|
auth_url => 'https://identity.openstack.org:5000/v3'
|
|
}
|