Add key configuration option
This commit is contained in:
commit
7bdb621ecf
@ -3,6 +3,12 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
default:
|
default:
|
||||||
description: Package install location for Percona XtraDB Cluster (defaults to distro for >= 14.04)
|
description: Package install location for Percona XtraDB Cluster (defaults to distro for >= 14.04)
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
default:
|
||||||
|
description: |
|
||||||
|
Key ID to import to the apt keyring to support use with arbitary source
|
||||||
|
configuration from outside of Launchpad archives or PPA's.
|
||||||
dataset-size:
|
dataset-size:
|
||||||
default: '80%'
|
default: '80%'
|
||||||
type: string
|
type: string
|
||||||
|
@ -81,7 +81,7 @@ def install():
|
|||||||
lsb_release()['DISTRIB_CODENAME'] < 'trusty':
|
lsb_release()['DISTRIB_CODENAME'] < 'trusty':
|
||||||
setup_percona_repo()
|
setup_percona_repo()
|
||||||
elif config('source') is not None:
|
elif config('source') is not None:
|
||||||
add_source(config('source'))
|
add_source(config('source'), config('key'))
|
||||||
|
|
||||||
configure_mysql_root_password(config('root-password'))
|
configure_mysql_root_password(config('root-password'))
|
||||||
db_helper = get_db_helper()
|
db_helper = get_db_helper()
|
||||||
|
Loading…
Reference in New Issue
Block a user