Skip to content

Instantly share code, notes, and snippets.

@tuxmea
Created August 30, 2019 08:45
Show Gist options
  • Save tuxmea/fb9b2a7ecd45c00e672973814be3384b to your computer and use it in GitHub Desktop.
Save tuxmea/fb9b2a7ecd45c00e672973814be3384b to your computer and use it in GitHub Desktop.
@@ -64,11 +64,11 @@ define accounts::key_management(
group => $group,
mode => '0700',
}
- $sshkey_require = File[$sshkey_dotdir]
+ $sshkey_before = File[$sshkey_dotdir]
} else {
- $sshkey_require = undef
+ $sshkey_before = undef
}
- $sshkey_before = File[$key_file]
+ $sshkey_require = File[$key_file]
} else {
if $purge_user_home and $user_home {
file { $sshkey_dotdir:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment