Skip to content

Instantly share code, notes, and snippets.

@kvisle
Created March 8, 2016 12:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kvisle/a10f025d922330c29d1c to your computer and use it in GitHub Desktop.
Save kvisle/a10f025d922330c29d1c to your computer and use it in GitHub Desktop.
hieradata:
classes:
- nova
- nova::keystone::auth
- nova::conductor
- nova::scheduler
- nova::api
- nova::db::mysql
- nova::db::sync
nova::api_bind_address: '::'
nova::os_region_name: "%{hiera('openstack::region')}"
nova::database_connection: "mysql://%{hiera('nova::db::mysql::username')}:%{hiera('nova::db::mysql::password')}@%{hiera('openstack::api_endpoint')}/%{hiera('nova::db::mysql::dbname')}"
nova::glance_api_servers: "%{hiera('openstack::api_endpoint')}:9292"
nova::rabbit_host: "%{hiera('openstack::api_endpoint')}"
nova::rabbit_userid: "%{hiera('rabbitmq::rabbitmq_user::username')}"
nova::rabbit_password: "%{hiera('rabbitmq::rabbitmq_user::password')}"
nova::api::admin_password: "%{hiera('keystone::roles::service::nova::password')}"
nova::keystone::auth::region: "%{hiera('openstack::region')}"
nova::keystone::auth::password: "%{hiera('keystone::roles::service::nova::password')}"
nova::keystone::auth::public_url: "http://%{hiera('openstack::api_endpoint')}:8774/v2/%(tenant_id)s"
nova::keystone::auth::internal_url: "http://%{hiera('openstack::api_endpoint')}:8774/v2/%(tenant_id)s"
nova::keystone::auth::admin_url: "http://%{hiera('openstack::api_endpoint')}:8774/v2/%(tenant_id)s"
nova::keystone::auth::public_url_v3: "http://%{hiera('openstack::api_endpoint')}:8774/v3.0"
nova::keystone::auth::internal_url_v3: "http://%{hiera('openstack::api_endpoint')}:8774/v3.0"
nova::keystone::auth::admin_url_v3: "http://%{hiera('openstack::api_endpoint')}:8774/v3.0"
nova::compute::libvirt::migration_support: true
nova::compute::libvirt::vncserver_listen: '::0'
workaround:
class profile::nova {
File <| title == '/etc/nova/nova.conf' |> {
owner => 'nova',
group => 'nova'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment