fuel-library/deployment/puppet/ceilometer/examples/site.pp
iberezovskiy 4f2895b99f Add support for ceilometer agent notification service
Partial implements blueprint ceilometer-fuel-integraition

Change-Id: I4100e72a77f3f1f37836cce64f4e63fa439635be
2014-04-21 19:38:22 +04:00

40 lines
949 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 { 'ceilometer::db::mysql':
password => 'ceilometer',
}
# Add the base ceilometer class & parameters
# This class is required by ceilometer agents & api classes
# The metering_secret parameter is mandatory
class { 'ceilometer':
metering_secret => 'darksecret'
}
# Configure the ceilometer database
# Only needed if ceilometer::agent::central or ceilometer::api are declared
class { 'ceilometer::db':
}
# Install the ceilometer-api service
# The keystone_password parameter is mandatory
class { 'ceilometer::api':
keystone_password => 'tralalayouyou'
}
# Install compute agent
class { 'ceilometer::agent::compute':
}
# Enable ceilometer agent notification service
class { 'ceilometer::agent_notification':
}
}