diff --git a/examples/site.pp b/examples/site.pp new file mode 100644 index 00000000..10c251bd --- /dev/null +++ b/examples/site.pp @@ -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': + } + +}