user resource type is used to manage the local users. It was first built for Linux systems, so it has its limitations. The following is the list of attributes that can be used for Windows. One of the important limitations is that, Puppet can manage the local users (not domain users). The attributes are as follows:
name: The user name.
ensure: The state of the user (present, or absent).
comment: The description of the user, usually the full name.
groups: The groups that the user will be assigned. Note that you can't use the
home: The home directory of the user. This folder needs to be created separately.
manage home: If this value is set to
true, it will create the
homedirectory when the user is
created, and will delete ...