Add an site.pp for example

This commit is contained in:
Émilien Macchi 2013-06-03 11:54:32 +02:00
parent 2811170e94
commit fba25d7ac6
1 changed files with 28 additions and 0 deletions

28
examples/site.pp Normal file
View File

@ -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':
}
}