木偶企业3.3不添加模块到类

我正在使用Puppet Enterprise 3.3的股票安装来运行Amazon Linux。 当我启动命令时:

puppet module install puppetlabs-ntp 

根据木偶实验室文档,它不会显示在我的可用class级列表中。 我安装了Puppet Enterprise作为sudo,但puppet命令只能从ec2用户获得。 其他一切似乎都在起作用。

命令以root身份运行:

 [root@puppet bin]# ./puppet module install puppetlabs-ntp Notice: Preparing to install into /home/ec2-user/.puppet/modules ... Notice: Downloading from https://forgeapi.puppetlabs.com ... Notice: Found at least one version of puppetlabs-ntp compatible with PE (3.3.0); Notice: Skipping versions which don't express PE compatibility. To install the most recent version of the module regardless of compatibility with PE, use the '--ignore-requirements' flag. Notice: Found at least one version of puppetlabs-stdlib compatible with PE (3.3.0); Notice: Skipping versions which don't express PE compatibility. To install the most recent version of the module regardless of compatibility with PE, use the '--ignore-requirements' flag. Notice: Installing -- do not interrupt ... /home/ec2-user/.puppet/modules └─┬ puppetlabs-ntp (v3.1.2) └── puppetlabs-stdlib (v4.3.2) 

我发现这个问题。 谢谢迈克尔解决它。 关键是我改变了基本path指向puppet.conf中的ec2-user目录。 一旦我改回来,它开始工作。 谢谢!