Before you install Puppet Development Kit (PDK), make sure you meet the system and language version requirements.

By default, PDK installs to the following locations:

  • On *nix and Mac OS X systems: /opt/puppetlabs/pdk/

  • On Windows systems: C:\Program Files\Puppet Labs\DevelopmentKit

PDK uses Puppet 4 and later. Modules created with PDK work with all Puppet and Ruby version combinations currently under maintenance. See open source Puppet and Puppet Enterprise lifecycle pages for details.

PDK functions, such as creating classes, testing, and validation, are supported only on modules created or converted with PDK.

Supported operating systems

PDK is compatible with *nix, Windows, and Mac OS X systems. For detailed version compatibility, see the table below.
Operating systemVersionsArchPackage type
Red Hat Enterprise Linux (RHEL) 6, 7x86_64RPM
CentOS 6, 7x86_64RPM
Oracle Linux 6, 7x86_64RPM
Scientific Linux 6, 7x86_64RPM
SUSE Linux Enterprise Server 11, 12x86_64N/A
Ubuntu 14.04, 16.04x86_64DEB
Windows (Consumer OS) 7, 8.1, 10x86_64MSI
Windows (Server OS) 2008r2, 2012, 2012r2, 2012r2 Core, and 2016x86_64MSI
Mac OS X 10.11, 10.12x86_64N/A
Tip: On Windows, PowerShell version 2.0 or greater is supported, but we recommend 4.0 or greater.

Setting PDK up behind a proxy

If you are using PDK behind a proxy, you must set environment variables to enable PDK to communicate.

You can set these variables on the command line before each working session, or you can add them to your system configuration, which varies depending on the operating system.

On *nix or Mac OS X systems, run:
export http_proxy="http://user:[email protected]:port"

export https_proxy="http://user:[email protected]:port"
On Windows systems, run:
$env:http_proxy="http://user:[email protected]:port"

$env:https_proxy="http://user:[email protected]:port"
Back to top