29 lines
545 B
Puppet
29 lines
545 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',
|
|
}
|
|
|
|
# Configure the heat database
|
|
# Only needed if heat::engine is declared
|
|
class { 'heat::db':
|
|
}
|
|
|
|
# Install the heat-api service
|
|
# The keystone_password parameter is mandatory
|
|
class { 'ceilometer::api':
|
|
keystone_password => 'password'
|
|
}
|
|
|
|
# Install heat-engine
|
|
class { 'heat::engine':
|
|
}
|
|
|
|
}
|