Cleanup documentation

Make sure documentation is the same and follow
the standard which we are trying to enforce on
all modules.

Change-Id: Id94b5c3da7f1999e260d061c7670946f8f5bd29b
This commit is contained in:
ZhongShengping 2018-12-13 17:10:01 +08:00
parent 7cf9f3c3d6
commit 8d9472f1f4
5 changed files with 51 additions and 51 deletions

View File

@ -3,7 +3,7 @@
# This class can be used to create tables, users and grant # This class can be used to create tables, users and grant
# privileges for a mysql gnocchi database. # privileges for a mysql gnocchi database.
# #
# == parameters # == Parameters
# #
# [*password*] # [*password*]
# (Required) Password to connect to the database. # (Required) Password to connect to the database.
@ -33,15 +33,6 @@
# Only used with mysql modules >= 2.2. # Only used with mysql modules >= 2.2.
# Defaults to 'utf8_general_ci' # Defaults to 'utf8_general_ci'
# #
# == Dependencies
# Class['mysql::server']
#
# == Examples
#
# == Authors
#
# == Copyright
#
class gnocchi::db::mysql( class gnocchi::db::mysql(
$password, $password,
$dbname = 'gnocchi', $dbname = 'gnocchi',

View File

@ -2,14 +2,14 @@
# Class to execute "gnocchi-dbsync" # Class to execute "gnocchi-dbsync"
# #
# [*user*] # [*user*]
# (optional) User to run dbsync command. # (Optional) User to run dbsync command.
# Defaults to 'gnocchi' # Defaults to 'gnocchi'
# #
# [*extra_opts*] # [*extra_opts*]
# (optional) String of extra command line parameters to append # (Optional) String of extra command line parameters to append
# to the gnocchi-db-sync command. # to the gnocchi-db-sync command.
# Defaults to undef # Defaults to undef
#
class gnocchi::db::sync ( class gnocchi::db::sync (
$user = 'gnocchi', $user = 'gnocchi',
$extra_opts = undef, $extra_opts = undef,

View File

@ -5,49 +5,58 @@
# === Parameters # === Parameters
# #
# [*password*] # [*password*]
# (required) Password for gnocchi user. # (Required) Password for gnocchi user.
# #
# [*auth_name*] # [*auth_name*]
# Username for gnocchi service. Defaults to 'gnocchi'. # (Optional) Username for gnocchi service.
# Defaults to 'gnocchi'.
# #
# [*email*] # [*email*]
# Email for gnocchi user. Defaults to 'gnocchi@localhost'. # (Optional) Email for gnocchi user.
# Defaults to 'gnocchi@localhost'.
# #
# [*tenant*] # [*tenant*]
# Tenant for gnocchi user. Defaults to 'services'. # (Optional) Tenant for gnocchi user.
# Defaults to 'services'.
# #
# [*configure_endpoint*] # [*configure_endpoint*]
# Should gnocchi endpoint be configured? Defaults to 'true'. # (Optional) Should gnocchi endpoint be configured?
# Defaults to true
# #
# [*configure_user*] # [*configure_user*]
# (Optional) Should the service user be configured? # (Optional) Should the service user be configured?
# Defaults to 'true'. # Defaults to true
# #
# [*configure_user_role*] # [*configure_user_role*]
# (Optional) Should the admin role be configured for the service user? # (Optional) Should the admin role be configured for the service user?
# Defaults to 'true'. # Defaults to true
# #
# [*service_type*] # [*service_type*]
# Type of service. Defaults to 'key-manager'. # (Optional) Type of service.
# Defaults to 'key-manager'.
# #
# [*region*] # [*region*]
# Region for endpoint. Defaults to 'RegionOne'. # (Optional) Region for endpoint.
# Defaults to 'RegionOne'.
# #
# [*service_name*] # [*service_name*]
# (optional) Name of the service. # (Optional) Name of the service.
# Defaults to 'gnocchi' # Defaults to 'gnocchi'
# #
# [*public_url*] # [*public_url*]
# (optional) The endpoint's public url. (Defaults to 'http://127.0.0.1:8041') # (0ptional) The endpoint's public url.
# This url should *not* contain any trailing '/'. # This url should *not* contain any trailing '/'.
# Defaults to 'http://127.0.0.1:8041'
# #
# [*admin_url*] # [*admin_url*]
# (optional) The endpoint's admin url. (Defaults to 'http://127.0.0.1:8041') # (Optional) The endpoint's admin url.
# This url should *not* contain any trailing '/'. # This url should *not* contain any trailing '/'.
# Defaults to 'http://127.0.0.1:8041'
# #
# [*internal_url*] # [*internal_url*]
# (optional) The endpoint's internal url. (Defaults to 'http://127.0.0.1:8041') # (Optional) The endpoint's internal url.
# This url should *not* contain any trailing '/'. # This url should *not* contain any trailing '/'.
# Defaults to 'http://127.0.0.1:8041'
# #
# [*service_description*] # [*service_description*]
# (Optional) Description for keystone service. # (Optional) Description for keystone service.

View File

@ -4,35 +4,35 @@
# #
# == parameters # == parameters
# #
# [*debug*] # [*debug*]
# (Optional) Should the daemons log debug messages # (Optional) Should the daemons log debug messages
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
# [*use_syslog*] # [*use_syslog*]
# (Optional) Use syslog for logging. # (Optional) Use syslog for logging.
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
# [*use_json*] # [*use_json*]
# (Optional) Use json for logging. # (Optional) Use json for logging.
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
# [*use_journal*] # [*use_journal*]
# (Optional) Use journal for logging. # (Optional) Use journal for logging.
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
# [*use_stderr*] # [*use_stderr*]
# (optional) Use stderr for logging # (Optional) Use stderr for logging
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
# [*log_facility*] # [*log_facility*]
# (Optional) Syslog facility to receive log lines. # (Optional) Syslog facility to receive log lines.
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
# [*log_dir*] # [*log_dir*]
# (optional) Directory where logs should be stored. # (Optional) Directory where logs should be stored.
# If set to boolean false or the $::os_service_default, it will not log to # If set to boolean false or the $::os_service_default, it will not log to
# any directory. # any directory.
# Defaults to '/var/log/gnocchi' # Defaults to '/var/log/gnocchi'
# #
class gnocchi::logging( class gnocchi::logging(
$use_syslog = $::os_service_default, $use_syslog = $::os_service_default,

View File

@ -5,7 +5,7 @@
# === Parameters # === Parameters
# #
# [*policies*] # [*policies*]
# (optional) Set of policies to configure for gnocchi # (Optional) Set of policies to configure for gnocchi
# Example : # Example :
# { # {
# 'gnocchi-context_is_admin' => { # 'gnocchi-context_is_admin' => {
@ -20,7 +20,7 @@
# Defaults to empty hash. # Defaults to empty hash.
# #
# [*policy_path*] # [*policy_path*]
# (optional) Path to the nova policy.json file # (Optional) Path to the nova policy.json file
# Defaults to /etc/gnocchi/policy.json # Defaults to /etc/gnocchi/policy.json
# #
class gnocchi::policy ( class gnocchi::policy (