Skip to content

Instantly share code, notes, and snippets.

@dnase
Created March 23, 2017 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dnase/a2b0caf947ed0efaf78f7cc396eed53c to your computer and use it in GitHub Desktop.
Save dnase/a2b0caf947ed0efaf78f7cc396eed53c to your computer and use it in GitHub Desktop.
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