A tap for Puppet OSX packages
brew cask install puppetlabs/puppet/<package>
To install Bolt with brew run
brew cask install puppetlabs/puppet/puppet-bolt
This will install bolt to /opt/puppetlabs/bin/bolt
, so to use bolt add /opt/puppetlabs/bin
to your path
export PATH=$PATH:/opt/puppetlabs/bin
To install PDK with brew:
brew cask install puppetlabs/puppet/pdk
This will install PDK into /opt/puppetlabs/pdk
and add an entry into /etc/paths.d
to add PDK to your
shell's PATH, however you may have to relaunch your terminal session before pdk
can be found on your PATH.
If you use ZShell (zsh), you will have to take additional steps before pdk
can be found on your PATH, see
the PDK Troubleshooting docs
to learn more.
If you previously installed the PDK or Bolt from homebrew before this tap existed, you will see errors about the keg not existing or the cask already being installed.
To remedy that, simply add the puppetlabs/puppet
tap after updating homebrew:
brew update
brew tap puppetlabs/puppet
After tapping, you can refer to the packages by their short name when interacting with them. For example:
brew cask upgrade pdk
When new versions of packages are shipped, you can use a Rake task to update the Cask to the latest version and SHAs
rake 'brew:cask[puppet-bolt]'