Search code examples
google-cloud-platformpuppet

How do I make puppet available in Cloud Shell?


I have been reading the "Getting started with Puppet on GCP" section at https://cloud.google.com/blog/products/gcp/introducing-puppet-support-for-google-cloud-platform24. I used the console to create a service account with Service Account Admin role and set up an instance to run as that service account. Then I enabled the Gmail API.

In "1. Install your modules", I don't understand the discussion about Google modules if I want to use Puppet on GCP. I think I would need Puppet on GCP (the other way around).

Indeed, when I tried the puppet apply <<EOF command in that section, I get -bash: puppet: command not found. How do I install puppet?


Solution

  • You have to install puppet on your machine:

    How To Install Puppet on Ubuntu

    Puppet official Documentation