Skip to content

Conversation

@KristianOellegaard
Copy link

Enabled the possibility to define access per key listed, e.g.

$ssh_keys = {
"[email protected]" => {
"type" => "ssh-rsa",
"key" => "key-content", },
"[email protected]" => {
"type" => "ssh-rsa",
"key" => "key-content", },
"[email protected]" => {
"type" => "ssh-rsa",
"key" => "key-content",
"ensure" => absent
},
}

Included the "has_key" function from https://github.com/puppetlabs/puppetlabs-stdlib

…ck to whatever is passed in to sshauthkeys, then it is also backwards compatible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant