Created by: darko-poljak
@pcoder Can you give an example?
- authorized_keys file content before running cdist
- init manifest content
- authroized_keys file content after running cdist 4.…
Created by: pcoder
@darko-poljak
- authorized_keys file content could be containing any number of keys. For instance lets take this, a randomly chosen public key
ssh-rsa…
Created by: pcoder
Whats worse is that if we have many keys in authorized_keys file, all of them are overwritten with only testtesttestsetestststestsetest
Created by: darko-poljak
@pcoder I cannot reproduce a case where key is valid but has trailing whitespace. Do you have an example? I have reproduced a case where key is invalid. Here the problem…
Created by: pcoder
@darko-poljak check this out
__ssh_authorized_keys root \
--key "ssh-rsa…
Created by: darko-poljak
@pcoder Nope, it works with this key. Are you sure you have only this in your manifest and that it clears existing file?
Created by: pcoder
I think you are right there @darko-poljak I may have overlooked this.
Created by: darko-poljak
@pcoder Ok, I will prepare a fix for an invalid key case.
Created by: darko-poljak
@pcoder Are you using ungleich/master?
Created by: pcoder
Yes @darko-poljak and this commit 08bc38dd0fc85e88b65d3068827346686a1e20f0
Created by: darko-poljak
@pcoder Can you git pull and try again? I made a fix.
Created by: pcoder
Thanks @darko-poljak for the quick fix. That works like a charm 👍
Created by: darko-poljak
Can you perhaps provide PR with new __package_dnf type?
Created by: schvabodka-man
That would be hard to provide because i obliviously don't have code for pull request
Created by: sideeffect42
@schvabodka-man Isn't yum symlinked to dnf on RedHat systems with dnf?
Regarding the PR: Are the dnf commands different from their yum equivalents? If not you…
I just bumped into this trying to make matrix types. Can you reopen the issue / assign it to me?