安装在 Debian stretch 中更改的手工木偶模块

Installing a handmade puppet module changed in Debian stretch

在 debian jessie 中,我曾经在 /etc/puppet/modules 的子文件夹中安装自己的 handmyde puppet 模块。我只是在那里用 git:

创建了一个饲料
cd /etc/puppet/modules
git clone https://github.com/ffnord/ffnord-puppet-gateway ffnord

从那时起,我可以在我的人偶脚本中使用模块 ffnord

这在 Debian stretch 中不再有效。如何在 Debaian 9 中安装我的模块?

模块文件夹更改为

/etc/puppet/code/modules

你发现

$ sudo puppet config print modulepath 
/etc/puppet/code/modules:/usr/share/puppet/modules

更好的路径是 /usr/share/puppet/modules

https://puppet.com/docs/puppet/4.10/dirs_modulepath.html