puppet-heat/examples/site.pp
Sebastien Badia 44e1bbf039 Add Puppet 4.x lint checks
This changes the puppet-lint requirement to 1.1.x, so that we can use
puppet-lint plugins. Most of these plugins are for 4.x compat, but some
just catch common errors.

Change-Id: If5f03538be85cee4a1d3b4c9a87eae1230432114
2015-03-02 13:54:32 +01:00

30 lines
600 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',
}
# Common class
class { '::heat':
# The keystone_password parameter is mandatory
keystone_password => 'password',
sql_connection => 'mysql://heat:heat@localhost/heat'
}
# Install heat-engine
class { '::heat::engine':
auth_encryption_key => 'whatever-key-you-like',
}
# Install the heat-api service
class { '::heat::api': }
}