]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - 3rdparty/modules/cinder/manifests/ceilometer.pp
try again, with puppetforge modules, correctly included now
[dsa-puppet.git] / 3rdparty / modules / cinder / manifests / ceilometer.pp
diff --git a/3rdparty/modules/cinder/manifests/ceilometer.pp b/3rdparty/modules/cinder/manifests/ceilometer.pp
new file mode 100644 (file)
index 0000000..813ea68
--- /dev/null
@@ -0,0 +1,22 @@
+# == Class: cinder::ceilometer
+#
+# Setup Cinder to enable ceilometer can retrieve volume samples
+# Ref: http://docs.openstack.org/developer/ceilometer/install/manual.html
+#
+# === Parameters
+#
+# [*notification_driver*]
+#   (option) Driver or drivers to handle sending notifications.
+#    Notice: rabbit_notifier has been deprecated in Grizzly, use rpc_notifier instead.
+#
+
+
+class cinder::ceilometer (
+  $notification_driver = 'cinder.openstack.common.notifier.rpc_notifier'
+) {
+
+  cinder_config {
+    'DEFAULT/notification_driver':     value => $notification_driver;
+  }
+}
+