Add an site.pp for example
This commit is contained in:
parent
2811170e94
commit
fba25d7ac6
|
@ -0,0 +1,28 @@
|
|||
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':
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue