本文介绍了如何在Cloud Shell中使用木偶?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在 https://cloud.google.com/blog/products/gcp/introducing-puppet-support-for-google-cloud-platform24 .我使用控制台创建了一个具有服务帐户管理员"角色的服务帐户,并设置了一个实例作为该服务帐户运行.然后,我启用了Gmail API.

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.

在"1.安装模块"中,如果我想在GCP上使用Puppet,则我不理解有关Google模块的讨论.我想我需要在GCP上使用Puppet(反之亦然).

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).

实际上,当我在该部分中尝试使用puppet apply <<EOF命令时,我得到了-bash: puppet: command not found.如何安装木偶?

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

推荐答案

您必须在计算机上安装木偶:

You have to install puppet on your machine:

如何安装Ubuntu上的木偶

木偶官方文档

这篇关于如何在Cloud Shell中使用木偶?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-11 09:21