Generate ssh key during config phase
... to ensure the key is created before octavia services are started. Change-Id: Ib6c7161f47b537e4897aa371f24b6884cfa325e3
This commit is contained in:
@@ -141,10 +141,11 @@ class octavia::worker (
|
||||
comment => 'Used for Octavia Service VM'
|
||||
}
|
||||
|
||||
Package<| tag == 'octavia-package' |>
|
||||
Anchor['octavia::config::begin']
|
||||
-> Exec['create_amp_key_dir']
|
||||
-> File['amp_key_dir']
|
||||
-> Ssh_keygen[$::octavia::controller::amp_ssh_key_name]
|
||||
-> Anchor['octavia::config::end']
|
||||
}
|
||||
|
||||
octavia_config {
|
||||
|
Reference in New Issue
Block a user