Preparing Puppet Discovery

Download Puppet Discovery for your operating system at https://puppet.com/download-puppet-discovery. This section will help us put the binary in our path and set up Puppet Discovery for the first time.

After we've downloaded Puppet Discovery, we'll want to move the binary into our path. On most Unix-based operating systems, /usr/local/bin is in your path. We need to place our binary in our path, make it executable, and ensure we can run it as the local user:

If /usr/local/bin is not in your path, you can see which directories are in your path by using echo $PATH on your system. This will come back as a list separated by colons.
rary at Ryans-MacBook-Pro in ~/workspace$ mv ~/Downloads/puppet-discovery /usr/local/bin ...

Get Mastering Puppet 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.