Resource types
Every resource (file, user, service, package, and so on) is associated with a resource type within the Puppet language. The resource type defines the kind of configuration it manages. This section provides information about the resource types that are built into Puppet.
-
This page provides a reference guide for Puppet's built-in types:
package
,file
,service
,notify
,exec
,user
, andgroup
. -
Optional resource types for Windows
In addition to the resource types included with Puppet, you can install custom resource types as modules from the Forge. This is especially useful when managing Windows systems, because there are several important Windows-specific resource types that are developed as modules rather than as part of core Puppet.
-
Puppet uses the same
exec
resource type on both *nix and Windows systems, and there are a few Windows-specific best practices and tips to keep in mind. -
Use Puppet's built-in
file
resource type to manage files and directories on Windows, including ownership, group, permissions, and content, with the following Windows-specific notes and tips. -
Using user and group on Windows
Use the built-in
user
andgroup
resource types to manage user and group accounts on Windows. -
The built-in
package
resource type handles many different packaging systems on many operating systems, so not all features are relevant everywhere. This page offers guidance and tips for working withpackage
on Windows. -
Puppet can manage services on nearly all operating systems.This page offers operating system-specific advice and best practices for working with
service
.