puppet-trove/templates/trove-guestagent.conf.erb

105 lines
3.7 KiB
Plaintext

[DEFAULT]
#=========== RPC Configuration ======================
# URL representing the messaging driver to use and its full configuration.
# If not set, we fall back to the 'rpc_backend' option and driver specific
# configuration.
transport_url = <%= @default_transport_url %>
# The messaging driver to use. Options include rabbit and zmq.
# Default is rabbit. (string value)
rpc_backend= <%= @rpc_backend %>
# The default exchange under which topics are scoped. May be
# overridden by an exchange name specified in the 'transport_url option.
control_exchange = <%= @control_exchange %>
# ========== Sample Logging Configuration ==========
# Show debugging output in logs (sets DEBUG log level output)
debug = <%= @debug %>
# Directory and path for log files
log_dir = <%= @log_dir %>
log_file = <%= @guest_log_file %>
# Path to the extensions
api_extensions_path = trove/extensions/routes
# Configuration options for talking to nova via the novaclient.
# These options are for an admin user in your keystone config.
# It proxies the token received from the user to send to nova via this admin users creds,
# basically acting like the client via that proxy token.
trove_auth_url = <%= @trove_auth_url %>
<%- if @swift_url and @swift_url != "<SERVICE DEFAULT>" -%>
swift_url = <%= @swift_url %>
<%- end -%>
# Datastore management implementations. Format datastore:manager.impl
# datastore_registry_ext = mysql:trove.guestagent.datastore.mysql.manager.Manager, percona:trove.guestagent.datastore.mysql.manager.Manager
# Permissions to grant "root" user by default
root_grant = ALL
root_grant_option = True
#root_grant = ALTER ROUTINE, CREATE, ALTER, CREATE ROUTINE, CREATE TEMPORARY TABLES, CREATE VIEW, CREATE USER, DELETE, DROP, EVENT, EXECUTE, INDEX, INSERT, LOCK TABLES, PROCESS, REFERENCES, SELECT, SHOW DATABASES, SHOW VIEW, TRIGGER, UPDATE, USAGE
#root_grant_option = False
# used by passlib to generate root password
#default_password_length = 36
# Users to ignore for user create/list/delete operations
ignore_users = os_admin
# Databases to ignore for db create/list/delete operations
ignore_dbs = lost+found, mysql, information_schema
# ========== Default Storage Options for backup ==========
# Default configuration for storage strategy and storage options
# for backups
storage_strategy = SwiftStorage
storage_namespace = trove.common.strategies.storage.swift
backup_swift_container = database_backups
backup_use_gzip_compression = True
backup_use_openssl_encryption = True
backup_aes_cbc_key = "default_aes_cbc_key"
backup_use_snet = False
backup_chunk_size = 65536
backup_segment_max_size = 2147483648
[oslo_messaging_rabbit]
# ============ RabbitMQ connection options ========================
<%- if @rabbit_ha_queues and @rabbit_ha_queues != "<SERVICE DEFAULT>" -%>
rabbit_ha_queues=<%= @rabbit_ha_queues %>
<%- else -%>
#rabbit_ha_queues=false
<%- end -%>
<%- if @amqp_durable_queues and @amqp_durable_queues != "<SERVICE DEFAULT>" -%>
amqp_durable_queues=<%= @amqp_durable_queues %>
<%- end -%>
# ========== Datastore Specific Configuration Options ==========
[mysql]
# For mysql, the following are the defaults for backup, and restore:
# backup_strategy = InnoBackupEx
# backup_namespace = trove.guestagent.strategies.backup.mysql_impl
# restore_namespace = trove.guestagent.strategies.restore.mysql_impl
# Default configuration for mysql replication
# replication_strategy = MysqlBinlogReplication
# replication_namespace = trove.guestagent.strategies.replication.mysql_binlog
# replication_user = slave_user
# replication_password = slave_password
[vertica]
# For vertica, following are the defaults needed:
# mount_point = /var/lib/vertica
# readahead_size = 2048
# guestagent_strategy = trove.common.strategies.cluster.experimental.vertica.guestagent.VerticaGuestAgentStrategy