Created
July 15, 2012 22:39
-
-
Save dizz/3118972 to your computer and use it in GitHub Desktop.
contains definitions for openstack controller
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class icclab::controller{ | |
include icclab::params | |
$admin_password = 'admin_pass' | |
$keystone_admin_token = 'keystone_pass' | |
class { 'openstack::controller': | |
public_address => $icclab::params::controller_node_public, | |
public_interface => $icclab::params::public_interface, | |
private_interface => $icclab::params::private_interface, | |
internal_address => $icclab::params::controller_node_internal, | |
floating_range => '192.168.56.128/25', | |
fixed_range => $icclab::params::fixed_range, | |
multi_host => true, | |
network_manager => $icclab::params::network_manager, | |
verbose => true, | |
auto_assign_floating_ip => false, | |
mysql_root_password => 'mysql_root_password', | |
admin_email => '[email protected]', | |
admin_password => $admin_password, | |
keystone_db_password => 'keystone_db_password', | |
keystone_admin_token => $keystone_admin_token, | |
glance_db_password => 'glance_pass', | |
glance_user_password => 'glance_pass', | |
nova_user_password => 'nova_pass', | |
nova_user_password => $icclab::params::nova_user_password, | |
rabbit_password => $icclab::params::rabbit_password, | |
rabbit_user => $icclab::params::rabbit_user, | |
export_resources => false, | |
} | |
# Optional: include if you want authorisation information | |
# stored in a local file, located in /root/ | |
class { 'openstack::auth_file': | |
admin_password => $admin_password, | |
keystone_admin_token => $keystone_admin_token, | |
controller_node => $icclab::params::controller_node_internal, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment