]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
Updated site.pp and added alarm manifests
authorFrancesco Vollero <fvollero@redhat.com>
Tue, 29 Oct 2013 17:07:31 +0000 (18:07 +0100)
committerFrancesco Vollero <fvollero@redhat.com>
Tue, 29 Oct 2013 17:47:17 +0000 (18:47 +0100)
Change-Id: Ic9e8f977984bda02f60028b2ae18605df52a9205

examples/site.pp

index 9ccb5111bf4bd72825c70b7a9cd933af55167875..9cea299b5bd5a73d0692631e4b6aa249564f9ac2 100644 (file)
@@ -22,6 +22,13 @@ node default {
   class { 'ceilometer::db':
   }
 
+  # Configure ceilometer database with mongodb
+
+  # class { 'ceilometer::db':
+  #   database_connection => 'mongodb://localhost:27017/ceilometer',
+  #   require             => Class['mongodb'],
+  # }
+
   # Install the ceilometer-api service
   # The keystone_password parameter is mandatory
   class { 'ceilometer::api':
@@ -30,10 +37,27 @@ node default {
 
   # Set common auth parameters used by all agents (compute/central)
   class { 'ceilometer::agent::auth':
+    auth_url      => 'http://localhost:35357/v2.0',
+    auth_password => 'tralalerotralala'
   }
 
   # Install compute agent
+  # default: enable
   class { 'ceilometer::agent::compute':
   }
 
+  # Install central agent
+  class { 'ceilometer::agent::central':
+  }
+
+  # Install alarm notifier
+  class { 'ceilometer::alarm::notifier':
+  }
+
+  # Install alarm evaluator
+  class { 'ceilometer::alarm::evaluator':
+  }
+
+
+
 }