1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
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': }
}
|