5f6411c3dd
Change-Id: I9982b8476ca9dab8a338b66db75d6da6519f9266
31 lines
581 B
Puppet
31 lines
581 B
Puppet
node default {
|
|
Exec {
|
|
path => ['/usr/bin', '/bin', '/usr/sbin', '/sbin']
|
|
}
|
|
|
|
# First, install a mysql server
|
|
class { 'mysql::server': }
|
|
|
|
# And create the database
|
|
class { 'heat::db::mysql':
|
|
password => 'heat',
|
|
}
|
|
|
|
class { 'heat::keystone::authtoken':
|
|
password => 'password',
|
|
}
|
|
# Common class
|
|
class { 'heat':
|
|
sql_connection => 'mysql+pymysql://heat:heat@localhost/heat'
|
|
}
|
|
|
|
# Install heat-engine
|
|
class { 'heat::engine':
|
|
auth_encryption_key => 'whatever-key-you-like',
|
|
}
|
|
|
|
# Install the heat-api service
|
|
class { 'heat::api': }
|
|
|
|
}
|