簡體   English   中英

puppet 3 在配置文件中添加清單目錄

[英]puppet 3 add manifest directory in config instead file

我被卡住了,在谷歌中找不到任何答案。 現在我的主配置指向單個清單manifest = $confdir/manifests/cronjob.pp問題是我如何更改指向目錄而不是使用該文件夾中的所有文件(清單)。 每次創建新清單時,這都是非常煩人的更改點。 我正在使用 puppet 3.24(我現在已經很老了)

可以通過搜索Puppet 配置參考找到您的答案

摘錄如下:

The entry-point manifest for puppet master. This can be one file or a directory of manifests to be evaluated in alphabetical order. Puppet manages this path as a directory if one exists or if the path ends with a / or .

話雖如此,如果您將manifest設置為以下內容:

manifest = $confdir/manifests/

它應該按字母順序讀取目錄中的每個manifest

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM