Created
October 21, 2013 17:44
-
-
Save scottslowe/7087907 to your computer and use it in GitHub Desktop.
When used in conjunction with an appropriate define-based virtual resource (see gist named "defined-virt-user-ssh-key"), this will define a user including their public SSH key.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@accounts::virtual { 'jsmith': | |
uid => 5001, | |
realname => 'John Smith', | |
pass => '<insert password hash here>', | |
sshkeytype => 'ssh-dss', | |
sshkey => '<insert SSH key here>', | |
require => Class['accounts::config'], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment