Use o juju quickstart para implantar o pacote e use o formato mostrado no bloco de código abaixo em seu pacote.yaml.
machines:
'0':
constraints: tags=bootstrap
series: trusty
'1':
constraints: tags=anytag
series: trusty
'2':
constraints: tags=anytag
series: trusty
'3':
constraints: tags=anytag
series: trusty
relations:
- - mysql
- keystone
- - keystone
- glance
- - cinder
- mysql
- - glance
- cinder
series: trusty
services:
mysql:
charm: cs:trusty/percona-cluster
num_units: 1
options:
max-connections: 20000
source: cloud:trusty-mitaka
to:
- '0'
keystone:
charm: cs:trusty/keystone
num_units: 1
options:
admin-password: plumgrid
admin-token: ubuntutesting
openstack-origin: cloud:trusty-mitaka
to:
- '1'
cinder:
charm: cs:trusty/cinder
num_units: 1
options:
block-device: None
glance-api-version: 2
openstack-origin: cloud:trusty-mitaka
overwrite: 'true'
remove-missing-force: true
to:
- '2'
glance:
charm: cs:trusty/glance
num_units: 1
options:
debug: true
openstack-origin: cloud:trusty-mitaka
verbose: true
to:
- '3'
Veja também: