Puppet pdk installation

PDK

The PDK (Puppet Development Kit) is a set of tools for developing and testing modules. Puppet released the PDK to make developing modules easier and, more importantly, consistent.

Getting ready

To use the pdk, install the PDK following the direction at

https://puppet.com/docs/pdk/latest/pdk_install.html.

By default, PDK installs to /opt/puppetlabs/pdk/

Installing Pdk (Puppet Development Kit) on centos7

# sudo rpm -Uvh https://yum.puppet.com/puppet-tools-release-el-7.noarch.rpm

Retrieving https://yum.puppet.com/puppet-tools-release-el-7.noarch.rpm

warning: /var/tmp/rpm-tmp.wWjGyi: Header V4 RSA/SHA256 Signature, key ID 9e61ef26: NOKEY

Preparing...                          ################################# [100%]

Updating / installing...

   1:puppet-tools-release-1.0.0-6.el7 ################################# [100%]

Now we can install puppet pdk using the below command

# sudo yum install pdk

Is this ok [y/N]: y

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

Warning: RPMDB altered outside of yum.

  Installing : pdk-2.1.0.0-1.el7.x86_64                                                                                                                  1/1

  Verifying  : pdk-2.1.0.0-1.el7.x86_64                                                                                                                  1/1

Installed:

  pdk.x86_64 0:2.1.0.0-1.el7

Complete!

To upgrade PDK installation to the most recent release, run

#sudo yum upgrade pdk

Recent Comments

No comments

Leave a Comment