1
ericFork Mar 20, 2013 是,建议把这些东西写在一个文件里,比如 nodes.pp,在 site.pp 里 include nodes.pp
|
3
vvoody Mar 20, 2013
在modulepath里的东西才能被直接include吧?
看这个tut http://docs.puppetlabs.com/learning/modules1.html |
4
JasonH OP @vvoody 我试过在 modules 下面建立这样的结构:
- modules: -- nodes: --- node01.pp --- node02.pp 然后在 site.pp 里 include 'nodes/*.pp' 但是错误消息还是一样的。 |
5
goinaction Mar 20, 2013 不应该是 import 'nodes/*.pp'吗
|
6
JasonH OP |
7
goinaction Mar 21, 2013
|