diff --git a/Vagrantfile b/Vagrantfile index 54910f0..2419761 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -77,6 +77,7 @@ def configure_vm(name, vm, conf) "host_ip_iface" => conf["host_ip_iface"] || "enp0s8", "vagrant_username" => conf["vagrant_username"] || "ubuntu", "ip_version" => conf["ip_version"] || "4", + "stack_sshkey_type" => conf["stack_sshkey_type"] || "rsa", } # add all the rest of the content in the conf file conf.each do |k, v| diff --git a/puppet/modules/user/manifests/stack.pp b/puppet/modules/user/manifests/stack.pp index a476e1d..6943389 100644 --- a/puppet/modules/user/manifests/stack.pp +++ b/puppet/modules/user/manifests/stack.pp @@ -7,7 +7,7 @@ class user::stack( { notify { 'after': - message => "User params: u => $username, p => $stack_password, k => $stack_sshkey" + message => "User params: u => $username, p => $stack_password, k => $stack_sshkey, t => $stack_sshkey_type" } @@ -22,6 +22,7 @@ class user::stack( user => $username, pass => $stack_password, key => $stack_sshkey, + key_type => $stack_sshkey_type, is_admin => true, } ->