
The heat::sql_database parameter no longer exists. Change-Id: I066634fe94cfe2503a0c5fc8ed6ac3dae374f427
34 lines
610 B
Puppet
34 lines
610 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',
|
|
}
|
|
class { 'heat::db':
|
|
database_connection => 'mysql+pymysql://heat:heat@localhost/heat'
|
|
}
|
|
|
|
# Common class
|
|
class { 'heat':
|
|
}
|
|
|
|
# Install heat-engine
|
|
class { 'heat::engine':
|
|
auth_encryption_key => 'whatever-key-you-like',
|
|
}
|
|
|
|
# Install the heat-api service
|
|
class { 'heat::api': }
|
|
|
|
}
|