Skip to content

Instantly share code, notes, and snippets.

@ajayaa
Created November 26, 2014 15:09
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 ajayaa/33b235c751df83ba86b4 to your computer and use it in GitHub Desktop.
Save ajayaa/33b235c751df83ba86b4 to your computer and use it in GitHub Desktop.
class cloudguru::nova_controller {
class { 'nova':
database_connection => 'mysql://nova:nova@192.168.100.10/nova?charset=utf8',
rabbit_userid => 'rabbituser',
rabbit_password => 'rabbitpass',
image_service => 'nova.image.glance.GlanceImageService',
glance_api_servers => "${::fqdn}:9292",
verbose => true,
rabbit_hosts => [
"${::fqdn}:5672"
],
mysql_module => '2.2',
}
class { 'nova::api':
admin_password => 'nova',
enabled => true,
auth_host => "${::fqdn}",
auth_protocol => 'https',
admin_tenant_name => 'services',
}
class { 'nova::conductor':
enabled => true,
}
class { 'nova::scheduler':
enabled => true,
}
class { 'mysql::server': }
include nova::client
class { 'nova::db::mysql':
password => 'nova',
mysql_module => '2.2',
allowed_hosts => '%',
}
class { 'nova::keystone::auth':
password => 'nova',
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment