差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
public:it:linux:puppet [2015/02/22 16:26] – [Learning Puppet 笔记] oakfire | public:it:linux:puppet [2018/02/28 13:48] (当前版本) – 外部编辑 127.0.0.1 | ||
---|---|---|---|
行 62: | 行 62: | ||
* If a class is defined in a module, you can declare that class by name in //any manifest//. Puppet will automatically find and load the manifest that contains the class definition. | * If a class is defined in a module, you can declare that class by name in //any manifest//. Puppet will automatically find and load the manifest that contains the class definition. | ||
* 一个 module 就是一个路径, 模块名就是路径名 | * 一个 module 就是一个路径, 模块名就是路径名 | ||
+ | * module layout: 模块包含子文件夹'' | ||
+ | * module 静态文件('' | ||
+ | * **puppet.conf**: | ||
+ | * The format of **puppet.conf** is explained in [[https:// | ||
+ | * [[http:// | ||
+ | === Templates === | ||
+ | * Templates are saved as files with the '' | ||
+ | * Use a template by the function '' | ||
+ | ensure => file, | ||
+ | require => Package[' | ||
+ | content => template(' | ||
+ | }</ | ||
+ | * Use a template by the function '' | ||
+ | |||
+ | |||