Created
August 2, 2012 13:12
-
-
Save mkotsur/3237018 to your computer and use it in GitHub Desktop.
Creating user with password in puppet [works]
This file contains 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
class test { | |
Exec { path => [ "/bin/", "/sbin/" , "/usr/bin/", "/usr/sbin/" ] } | |
exec { 'uuu': | |
command => 'sudo useradd -p \'$6$ho0rkgYB$tWX9tiduG4orUmc6Z6hfaha5C4v5xCzK.Xa1d2mSBRW5TwzkgeWap2tUuiEdUQBfo3KnvQi/Y1XjesFFZrMBj1\' myuser' | |
} | |
} | |
include test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment