Created
March 23, 2017 13:56
-
-
Save dnase/a2b0caf947ed0efaf78f7cc396eed53c to your computer and use it in GitHub Desktop.
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
define users::managed_user ( | |
$group = $title, | |
) | |
{ | |
user { $title: | |
ensure => present, | |
managehome => true, | |
home => "/home/${title}", | |
gid => $group, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment