]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
Update existing puppetdoc & add missing puppetdoc
authorFrançois Charlier <francois.charlier@enovance.com>
Tue, 23 Apr 2013 09:22:31 +0000 (11:22 +0200)
committerFrançois Charlier <francois.charlier@enovance.com>
Tue, 23 Apr 2013 09:22:31 +0000 (11:22 +0200)
manifests/agent/central.pp
manifests/agent/compute.pp
manifests/client.pp
manifests/collector.pp
manifests/db.pp
manifests/init.pp
manifests/params.pp

index 477e42c668804539910e76fd49e938f2e67d3432..57bb59b53848398516b5d08e216759feb6e2f153 100644 (file)
@@ -1,3 +1,26 @@
+# Installs/configures the ceilometer central agent
+#
+# == Parameters
+#  [*auth_url*]
+#    Keystone URL. Optional. Defaults to 'http://localhost:5000/v2.0'
+#
+#  [*auth_region*]
+#    Keystone region. Optional. Defaults to 'RegionOne'
+#
+#  [*auth_user*]
+#    Keystone user for ceilometer. Optional. Defaults to 'ceilometer'
+#
+#  [*auth_password*]
+#    Keystone password for ceilometer. Optional. Defaults to 'password'
+#
+#  [*auth_tenant_name*]
+#    Keystone tenant name for ceilometer. Optional. Defauls to 'services'
+#
+#  [*auth_tenant_id*]
+#    Keystone tenant id for ceilometer. Optional. Defaults to ''
+#
+#  [*enabled*]
+#    Should the service be enabled. Optional. Defauls to true
 #
 class ceilometer::agent::central (
   $auth_url         = 'http://localhost:5000/v2.0',
index 27cf6fdf1c10430968e71607f29c66ff3807d9d3..c9ed60dbcaf6cb33c85bbe919b5e749baacf5d39 100644 (file)
@@ -2,13 +2,33 @@
 # Include this class on all nova compute nodes
 #
 # == Parameters
-#  * auth_url: the keystone public endpoint
-#  *auth_region: the keystone region of this compute node
-#  *auth_user: the keystone user for ceilometer services
-#  *auth_password: the keystone password for ceilometer services
-#  *auth_tenant_name: the keystone tenant name for ceilometer services
-#  *auth_tenant_id (optional): the keystone tenant id for ceilometer services
-#  *enabled: should the service be started or not
+#  [*auth_url*]
+#    the keystone public endpoint
+#    Optional. Defaults to 'http://localhost:5000/v2.0'
+#
+#  [*auth_region*]
+#    the keystone region of this compute node
+#    Optional. Defaults to 'RegionOne'
+#
+#  [*auth_user*]
+#    the keystone user for ceilometer services
+#    Optional. Defaults to 'ceilometer'
+#
+#  [*auth_password*]
+#    the keystone password for ceilometer services
+#    Optional. Defaults to 'password'
+#
+#  [*auth_tenant_name*]
+#    the keystone tenant name for ceilometer services
+#    Optional. Defaults to 'services'
+#
+#  [*auth_tenant_id*]
+#    the keystone tenant id for ceilometer services.
+#    Optional. Defaults to empty.
+#
+#  [*enabled*]
+#    should the service be started or not
+#    Optional. Defaults to true
 #
 class ceilometer::agent::compute (
   $auth_url         = 'http://localhost:5000/v2.0',
index 7bb73351ee4cf83bdad5cd0b54c03e5be71b1c37..faa791a1810cc4360601c24a990afd758a81b7a7 100644 (file)
@@ -2,7 +2,8 @@
 # Installs the ceilometer python library.
 #
 # == parameters
-#  * ensure - ensure state for pachage.
+#  [*ensure*]
+#    ensure state for pachage.
 #
 class ceilometer::client (
   $ensure = 'present'
index b94bed104f0550f692b61685d856e0bba9169671..8ba53219b5f7050d290986e75b0321fa8898a359 100644 (file)
@@ -1,3 +1,8 @@
+# Installs the ceilometer collector service
+#
+# == Params
+#  [*enabled*]
+#    should the service be enabled
 #
 class ceilometer::collector (
   $enabled = true,
index 1d7627d58152a32cd75a41b66c1f391173b5ccca..b256985061936d96889f29515fd044c2a2cfa2ae 100644 (file)
@@ -1,3 +1,10 @@
+# Configures the ceilometer database
+# This class will install the required libraries depending on the driver
+# specified in the connection_string parameter
+#
+# == Parameters
+#  [*database_connection*]
+#    the connection string. format: [driver]://[user]:[password]@[host]/[database]
 #
 class ceilometer::db (
   $database_connection = 'mysql://ceilometer:ceilometer@localhost/ceilometer'
index 32519911cb118f7fa633ea2ddd3024be293a11c1..557806f172c75337be35ffd1be8b0143e93c5301 100644 (file)
@@ -3,27 +3,27 @@
 #  ceilometer base package & configuration
 #
 # == parameters
-#   $metering_secret: secret key for signing messages
-#     Mandatory.
-#   $package_ensure: ensure state for package.
-#     Optional. Defaults to 'present'
-#   $verbose: should the daemons log verbose messages
-#     Optional. Defaults to 'False'
-#   $debug: should the daemons log debug messages
-#     Optional. Defaults to 'False'
-#   $rabbit_host: ip or hostname of the rabbit server
-#     Optional. Defaults to '127.0.0.1'
-#   $rabbit_port: port of the rabbit server
-#     Optional. Defaults to 5672.
-#   $rabbit_hosts: array of host:port (used with HA queues)
-#     Optional. Defaults to undef.
-#     If defined, will remove rabbit_host & rabbit_port parameters from config
-#   $rabbit_userid: user to connect to the rabbit server
-#     Optional. Defaults to 'guest'
-#   $rabbit_password: password to connect to the rabbit_server
-#     Optional. Defaults to empty string.
-#   $rabbit_virtualhost: virtualhost to use
-#     Optional. Defaults to '/'
+#  [*metering_secret*]
+#    secret key for signing messages. Mandatory.
+#  [*package_ensure*]
+#    ensure state for package. Optional. Defaults to 'present'
+#  [*verbose*]
+#    should the daemons log verbose messages. Optional. Defaults to 'False'
+#  [*debug*]
+#    should the daemons log debug messages. Optional. Defaults to 'False'
+#  [*rabbit_host*]
+#    ip or hostname of the rabbit server. Optional. Defaults to '127.0.0.1'
+#  [*rabbit_port*]
+#    port of the rabbit server. Optional. Defaults to 5672.
+#  [*rabbit_hosts*]
+#    array of host:port (used with HA queues). Optional. Defaults to undef.
+#    If defined, will remove rabbit_host & rabbit_port parameters from config
+#  [*rabbit_userid*]
+#    user to connect to the rabbit server. Optional. Defaults to 'guest'
+#  [*rabbit_password*]
+#    password to connect to the rabbit_server. Optional. Defaults to empty.
+#  [*rabbit_virtualhost*]
+#    virtualhost to use. Optional. Defaults to '/'
 #
 class ceilometer(
   $metering_secret    = false,
index f2a2c1fc1d3c59e1b041c874e53117e7ac00c7e1..dbecc7bcfd3e2d6f46625ed7d75c5827204eee28 100644 (file)
@@ -1,4 +1,5 @@
 # Parameters for puppet-ceilometer
+#
 class ceilometer::params {
 
   $dbsync_command =