Cleanup config.yaml

Change-Id: I51eda650041cdd923f40c59614549117bb053569
This commit is contained in:
Edward Hope-Morley 2017-06-06 22:37:20 +01:00
parent fe671308ed
commit fa49e65c09
1 changed files with 91 additions and 76 deletions

View File

@ -1,37 +1,76 @@
options:
debug:
default: False
type: boolean
default: False
description: Enable debug logging.
verbose:
default: False
type: boolean
default: False
description: Enable verbose logging.
openstack-origin:
default: distro
type: string
use-syslog:
type: boolean
default: False
description: |
Repository from which to install. May be one of the following:
Setting this to True will allow supporting services to log to syslog.
openstack-origin:
type: string
default: distro
description: |
Repository from which to install. May be one of the following:
distro (default), ppa:somecustom/ppa, a deb url sources entry,
or a supported Cloud Archive release pocket.
Supported Cloud Archive sources include:
or a supported Ubuntu Cloud Archive e.g.
.
cloud:<series>-<openstack-release>
cloud:<series>-<openstack-release>/updates
cloud:<series>-<openstack-release>/staging
cloud:<series>-<openstack-release>/proposed
For series=Precise we support cloud archives for openstack-release:
* icehouse
For series=Trusty we support cloud archives for openstack-release:
* juno
* kilo
* ...
.
See https://wiki.ubuntu.com/OpenStack/CloudArchive for info on which
cloud archives are available and supported.
.
NOTE: updating this setting to a source that is known to provide
a later version of OpenStack will trigger a software upgrade.
a later version of OpenStack will trigger a software upgrade unless
action-managed-upgrade is set to True.
openstack-origin-git:
type: string
default:
description: |
Specifies a default OpenStack release name, or a YAML dictionary
listing the git repositories to install from.
.
The default Openstack release name may be one of the following, where
the corresponding OpenStack github branch will be used:
* liberty
* mitaka
* newton
* master
.
The YAML must minimally include requirements and heat repositories,
and may also include repositories for other dependencies:
repositories:
- {name: requirements,
repository: 'git://github.com/openstack/requirements',
branch: master}
- {name: heat,
repository: 'git://github.com/openstack/heat',
branch: master}
release: master
action-managed-upgrade:
type: boolean
default: False
description: |
If True enables openstack upgrades for this charm via juju actions.
You will still need to set openstack-origin to the new repository but
instead of an upgrade running automatically across all units, it will
wait for you to execute the openstack-upgrade action for this charm on
each unit. If False it will revert to existing behavior of upgrading
all units on config change.
harden:
type: string
default:
description: |
Apply system hardening. Supports a space-delimited list of modules
to run. Supported modules currently include os, ssh, apache and mysql.
database-user:
default: heat
type: string
@ -62,34 +101,23 @@ options:
encryption-key:
default: ""
type: string
description: Encryption key used for authentication info in database
use-syslog:
type: boolean
default: False
description: |
By default, all services will log into their corresponding log files.
Setting this to True will force all services to log to the syslog.
# Per-service HTTPS configuration.
ssl_cert:
description: Encryption key used for authentication info in database.
config-flags:
type: string
default:
description: |
SSL certificate to install and use for API ports. Setting this value
and ssl_key will enable reverse proxying, point Heat's entry in the
Keystone catalog to use https, and override any certficiate and key
issued by Keystone (if it is configured to do so).
ssl_key:
type: string
default:
description: SSL key to use with certificate specified as ssl_cert.
ssl_ca:
type: string
Comma-separated list of key=value config flags. These values will be
placed in the heat.conf [DEFAULT] section.
worker-multiplier:
type: float
default:
description: |
SSL CA to use with the certificate and key provided - this is only
required if you are providing a privately signed ssl_cert and ssl_key.
# Network configuration options
# by default all access is over 'private-address'
The CPU core multiplier to use when configuring worker processes for
this service. By default, the number of workers for each daemon is
set to twice the number of CPU cores a service unit has. When deployed
in a LXD container, this default value will be capped to 4 workers
unless this configuration option is set.
# Network config (by default all access is over 'private-address')
os-admin-network:
type: string
default:
@ -150,16 +178,6 @@ options:
create the following admin endpoints for ceilometer:
.
https://heat.admin.example.com:8004/
action-managed-upgrade:
type: boolean
default: False
description: |
If True enables openstack upgrades for this charm via juju actions.
You will still need to set openstack-origin to the new repository but
instead of an upgrade running automatically across all units, it will
wait for you to execute the openstack-upgrade action for this charm on
each unit. If False it will revert to existing behavior of upgrading
all units on config change.
prefer-ipv6:
type: boolean
default: False
@ -172,19 +190,31 @@ options:
order for this charm to function correctly, the privacy extension must be
disabled and a non-temporary address must be configured/available on
your network interface.
config-flags:
ssl_cert:
type: string
default:
description: |
Comma-separated list of key=value config flags. These values will be
placed in the heat.conf [DEFAULT] section.
# HA configuration settings
SSL certificate to install and use for API ports. Setting this value
and ssl_key will enable reverse proxying, point Heat's entry in the
Keystone catalog to use https, and override any certificate and key
issued by Keystone (if it is configured to do so).
ssl_key:
type: string
default:
description: SSL key to use with certificate specified as ssl_cert.
ssl_ca:
type: string
default:
description: |
SSL CA to use with the certificate and key provided - this is only
required if you are providing a privately signed ssl_cert and ssl_key.
# HA config
dns-ha:
type: boolean
default: False
description: |
Use DNS HA with MAAS 2.0. Note if this is set do not set vip
settings below.
Use DNS HA with MAAS 2.0. Note if this is set do not set vip settings
below.
vip:
type: string
default:
@ -197,8 +227,8 @@ options:
type: string
default: eth0
description: |
Default network interface to use for HA vip when it cannot be automatically
determined.
Default network interface to use for HA vip when it cannot be
automatically determined.
vip_cidr:
type: int
default: 24
@ -217,18 +247,3 @@ options:
description: |
Default multicast port number that will be used to communicate between
HA Cluster nodes.
harden:
default:
type: string
description: |
Apply system hardening. Supports a space-delimited list of modules
to run. Supported modules currently include os, ssh, apache and mysql.
worker-multiplier:
type: float
default:
description: |
The CPU core multiplier to use when configuring worker processes for
this service. By default, the number of workers for each daemon is
set to twice the number of CPU cores a service unit has. When deployed
in a LXD container, this default value will be capped to 4 workers
unless this configuration option is set.