diff --git a/manifests/db/mysql.pp b/manifests/db/mysql.pp index 1c0c96d3..35ff364f 100644 --- a/manifests/db/mysql.pp +++ b/manifests/db/mysql.pp @@ -3,7 +3,7 @@ # This class can be used to create tables, users and grant # privileges for a mysql gnocchi database. # -# == parameters +# == Parameters # # [*password*] # (Required) Password to connect to the database. @@ -33,15 +33,6 @@ # Only used with mysql modules >= 2.2. # Defaults to 'utf8_general_ci' # -# == Dependencies -# Class['mysql::server'] -# -# == Examples -# -# == Authors -# -# == Copyright -# class gnocchi::db::mysql( $password, $dbname = 'gnocchi', diff --git a/manifests/db/sync.pp b/manifests/db/sync.pp index e84312eb..46c2357e 100644 --- a/manifests/db/sync.pp +++ b/manifests/db/sync.pp @@ -2,14 +2,14 @@ # Class to execute "gnocchi-dbsync" # # [*user*] -# (optional) User to run dbsync command. +# (Optional) User to run dbsync command. # Defaults to 'gnocchi' # # [*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. # Defaults to undef - +# class gnocchi::db::sync ( $user = 'gnocchi', $extra_opts = undef, diff --git a/manifests/keystone/auth.pp b/manifests/keystone/auth.pp index 0464310e..f84e0df8 100644 --- a/manifests/keystone/auth.pp +++ b/manifests/keystone/auth.pp @@ -5,49 +5,58 @@ # === Parameters # # [*password*] -# (required) Password for gnocchi user. +# (Required) Password for gnocchi user. # # [*auth_name*] -# Username for gnocchi service. Defaults to 'gnocchi'. +# (Optional) Username for gnocchi service. +# Defaults to 'gnocchi'. # # [*email*] -# Email for gnocchi user. Defaults to 'gnocchi@localhost'. +# (Optional) Email for gnocchi user. +# Defaults to 'gnocchi@localhost'. # # [*tenant*] -# Tenant for gnocchi user. Defaults to 'services'. +# (Optional) Tenant for gnocchi user. +# Defaults to 'services'. # # [*configure_endpoint*] -# Should gnocchi endpoint be configured? Defaults to 'true'. +# (Optional) Should gnocchi endpoint be configured? +# Defaults to true # # [*configure_user*] # (Optional) Should the service user be configured? -# Defaults to 'true'. +# Defaults to true # # [*configure_user_role*] # (Optional) Should the admin role be configured for the service user? -# Defaults to 'true'. +# Defaults to true # # [*service_type*] -# Type of service. Defaults to 'key-manager'. +# (Optional) Type of service. +# Defaults to 'key-manager'. # # [*region*] -# Region for endpoint. Defaults to 'RegionOne'. +# (Optional) Region for endpoint. +# Defaults to 'RegionOne'. # # [*service_name*] -# (optional) Name of the service. +# (Optional) Name of the service. # Defaults to 'gnocchi' # # [*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 '/'. +# Defaults to 'http://127.0.0.1:8041' # # [*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 '/'. +# Defaults to 'http://127.0.0.1:8041' # # [*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 '/'. +# Defaults to 'http://127.0.0.1:8041' # # [*service_description*] # (Optional) Description for keystone service. diff --git a/manifests/logging.pp b/manifests/logging.pp index a3119081..64cc7304 100644 --- a/manifests/logging.pp +++ b/manifests/logging.pp @@ -4,35 +4,35 @@ # # == parameters # -# [*debug*] -# (Optional) Should the daemons log debug messages -# Defaults to $::os_service_default +# [*debug*] +# (Optional) Should the daemons log debug messages +# Defaults to $::os_service_default # -# [*use_syslog*] -# (Optional) Use syslog for logging. -# Defaults to $::os_service_default +# [*use_syslog*] +# (Optional) Use syslog for logging. +# Defaults to $::os_service_default # -# [*use_json*] -# (Optional) Use json for logging. -# Defaults to $::os_service_default +# [*use_json*] +# (Optional) Use json for logging. +# Defaults to $::os_service_default # -# [*use_journal*] -# (Optional) Use journal for logging. -# Defaults to $::os_service_default +# [*use_journal*] +# (Optional) Use journal for logging. +# Defaults to $::os_service_default # -# [*use_stderr*] -# (optional) Use stderr for logging -# Defaults to $::os_service_default +# [*use_stderr*] +# (Optional) Use stderr for logging +# Defaults to $::os_service_default # -# [*log_facility*] -# (Optional) Syslog facility to receive log lines. -# Defaults to $::os_service_default +# [*log_facility*] +# (Optional) Syslog facility to receive log lines. +# Defaults to $::os_service_default # -# [*log_dir*] -# (optional) Directory where logs should be stored. -# If set to boolean false or the $::os_service_default, it will not log to -# any directory. -# Defaults to '/var/log/gnocchi' +# [*log_dir*] +# (Optional) Directory where logs should be stored. +# If set to boolean false or the $::os_service_default, it will not log to +# any directory. +# Defaults to '/var/log/gnocchi' # class gnocchi::logging( $use_syslog = $::os_service_default, diff --git a/manifests/policy.pp b/manifests/policy.pp index 899c1573..ebc2f87c 100644 --- a/manifests/policy.pp +++ b/manifests/policy.pp @@ -5,7 +5,7 @@ # === Parameters # # [*policies*] -# (optional) Set of policies to configure for gnocchi +# (Optional) Set of policies to configure for gnocchi # Example : # { # 'gnocchi-context_is_admin' => { @@ -20,7 +20,7 @@ # Defaults to empty hash. # # [*policy_path*] -# (optional) Path to the nova policy.json file +# (Optional) Path to the nova policy.json file # Defaults to /etc/gnocchi/policy.json # class gnocchi::policy (