Validate inputs to generate ssh key
... according to the validations implemented in puppet-ssh_keygen. Change-Id: Id523d429dd21439f64b31359a916a9dcf572a1bd
This commit is contained in:
parent
533d9e0d3a
commit
517f14821d
@ -52,17 +52,17 @@
|
|||||||
# Defaults to 'services'
|
# Defaults to 'services'
|
||||||
#
|
#
|
||||||
class octavia::worker (
|
class octavia::worker (
|
||||||
Boolean $manage_service = true,
|
Boolean $manage_service = true,
|
||||||
Boolean $enabled = true,
|
Boolean $enabled = true,
|
||||||
$package_ensure = 'present',
|
$package_ensure = 'present',
|
||||||
$workers = $facts['os_workers'],
|
$workers = $facts['os_workers'],
|
||||||
Boolean $manage_nova_flavor = true,
|
Boolean $manage_nova_flavor = true,
|
||||||
Hash $nova_flavor_config = {},
|
Hash $nova_flavor_config = {},
|
||||||
$key_path = '/etc/octavia/.ssh/octavia_ssh_key',
|
Stdlib::Absolutepath $key_path = '/etc/octavia/.ssh/octavia_ssh_key',
|
||||||
Boolean $manage_keygen = false,
|
Boolean $manage_keygen = false,
|
||||||
$ssh_key_type = 'rsa',
|
Enum['rsa', 'dsa', 'ecdsa', 'ed25519', 'rsa1'] $ssh_key_type = 'rsa',
|
||||||
$ssh_key_bits = 2048,
|
Integer $ssh_key_bits = 2048,
|
||||||
String[1] $amp_project_name = 'services',
|
String[1] $amp_project_name = 'services',
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include octavia::deps
|
include octavia::deps
|
||||||
|
Loading…
Reference in New Issue
Block a user