Skip to content

Instantly share code, notes, and snippets.

@Carolusian
Created July 29, 2014 03:15
Show Gist options
  • Save Carolusian/3e1560665a200124b890 to your computer and use it in GitHub Desktop.
Save Carolusian/3e1560665a200124b890 to your computer and use it in GitHub Desktop.
hiera configuration for openstack multiple nodes setup with puppetlabs module. Version: icehouse
openstack::region: 'openstack'
######## Networks
openstack::network::api: '192.168.100.0/24'
openstack::network::external: '192.168.100.0/24'
openstack::network::management: '10.10.10.0/24'
openstack::network::data: '10.20.20.0/24'
openstack::network::external::ippool::start: 192.168.100.100
openstack::network::external::ippool::end: 192.168.100.200
openstack::network::external::gateway: 192.168.100.2
openstack::network::external::dns: 192.168.100.2
######## Private Neutron Network
openstack::network::neutron::private: '10.0.0.0/24'
######## Fixed IPs (controllers)
openstack::controller::address::api: '192.168.100.10'
openstack::controller::address::management: '10.10.10.10'
openstack::storage::address::api: '192.168.100.20'
openstack::storage::address::management: '10.10.10.20'
######## Database
openstack::mysql::root_password: 'spam-gak'
openstack::mysql::service_password: 'fuva-wax'
openstack::mysql::allowed_hosts: ['localhost', '127.0.0.1', '10.10.10.%']
######## RabbitMQ
openstack::rabbitmq::user: 'openstack'
openstack::rabbitmq::password: 'pose-vix'
######## Keystone
openstack::keystone::admin_token: 'sosp-kyl'
openstack::keystone::admin_email: 'chris.hoge@puppetlabs.com'
openstack::keystone::admin_password: 'fyby-tet'
openstack::tenants:
"test":
description: "Test tenant"
"test2":
description: "Test tenant"
openstack::users:
"test":
password: "abc123"
tenant: "test"
email: "test@example.com"
admin: true
"demo":
password: "abc123"
tenant: "test"
email: "demo@example.com"
admin: false
"demo2":
password: "abc123"
tenant: "test2"
email: "demo@example.com"
admin: false
######## Glance
openstack::glance::password: 'na-mu-va'
######## Cinder
openstack::cinder::password: 'zi-co-se'
openstack::cinder::volume_size: '8G'
######## Swift
openstack::swift::password: 'dexc-flo'
openstack::swift::hash_suffix: 'pop-bang'
######## Nova
openstack::nova::libvirt_type: 'qemu'
openstack::nova::password: 'quuk-paj'
######## Neutron
openstack::neutron::password: 'whi-rtuz'
openstack::neutron::shared_secret: 'by-sa-bo'
######## Ceilometer
openstack::ceilometer::mongo::password: 'whi-truz'
openstack::ceilometer::password: 'whi-truz'
openstack::ceilometer::meteringsecret: 'ceilometersecretkey'
######## Heat
openstack::heat::password: 'zap-bang'
openstack::heat::encryption_key: 'heatsecretkey'
######## Horizon
openstack::horizon::secret_key: 'whu-ghuk'
######## Tempest
openstack::tempest::configure_images : true
openstack::tempest::image_name : 'Cirros'
openstack::tempest::image_name_alt : 'Cirros'
openstack::tempest::username : 'demo'
openstack::tempest::username_alt : 'demo2'
openstack::tempest::username_admin : 'test'
openstack::tempest::configure_network : true
openstack::tempest::public_network_name : 'public'
openstack::tempest::cinder_available : true
openstack::tempest::glance_available : true
openstack::tempest::horizon_available : true
openstack::tempest::nova_available : true
openstack::tempest::neutron_available : true
openstack::tempest::heat_available : false
openstack::tempest::swift_available : false
######## Log levels
openstack::verbose: 'True'
openstack::debug: 'True'
######## NTP settings
# ntp::autoupdate: false
# openstack::neutron::tunneling': false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment