Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] ssh_auth depends by ssh binary presence #226

Open
Sjd-Risca opened this issue Aug 4, 2021 · 0 comments
Open

[BUG] ssh_auth depends by ssh binary presence #226

Sjd-Risca opened this issue Aug 4, 2021 · 0 comments
Labels

Comments

@Sjd-Risca
Copy link

Your setup

Formula commit hash / release tag

Formula at version v0.48.4

Versions reports (master & minion)

salt-minion at 3002.6

Pillar / config used

users:
   demouser:
     system: false
     sudouser: false
     ssh_auth:
       - ssh-rsa AAAAB3NzaC1yc2EAAaJNOUNEQWMEMSJo {...} ==

Bug details

Describe the bug

Formula fails because ssh_auth is not available since openssh-client is missing.

From minion logs:

2021-08-04 15:52:57.816 | [DEBUG   ] Could not LazyLoad ssh.set_auth_key: 'ssh' __virtual__ returned False: The module requires the ssh binary.
2021-08-04 15:52:57.816 | [DEBUG   ] An exception occurred in this state: 'ssh.set_auth_key'

Steps to reproduce the bug

It is required that no ssh binary is install on the minion.

Expected behaviour

The formula, is notice that ssh is missing, properly provide to install it in order to later manage also the auth key.

@Sjd-Risca Sjd-Risca added the bug label Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant