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

Puppet 安装Debian stretch中更改的手工木偶模块,puppet,Puppet,在debian jessie中,我曾经在/etc/puppet/modules的子文件夹中安装我自己的handmyde puppet模块。我只是用git在那里创建了一个foder: cd /etc/puppet/modules git clone https://github.com/ffnord/ffnord-puppet-gateway ffnord 从那时起,我可以在我的木偶脚本中使用模块ffnord 这在Debian stretch中不再起作用。如何在Debian 9中安装模块?模块文

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

cd /etc/puppet/modules
git clone https://github.com/ffnord/ffnord-puppet-gateway ffnord
从那时起,我可以在我的木偶脚本中使用模块
ffnord


这在Debian stretch中不再起作用。如何在Debian 9中安装模块?

模块文件夹更改为

/etc/puppet/code/modules
你和我一起发现

$ sudo puppet config print modulepath 
/etc/puppet/code/modules:/usr/share/puppet/modules
更好的路径是
/usr/share/puppet/modules


请参见将模块文件夹更改为

/etc/puppet/code/modules
你和我一起发现

$ sudo puppet config print modulepath 
/etc/puppet/code/modules:/usr/share/puppet/modules
更好的路径是
/usr/share/puppet/modules