O'Reilly logo

Learning Puppet for Windows Server by Fuat Ulugay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing users

The 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 gid attribute.
  • 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 home directory when the user is created, and will delete ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required