puppetマニフェストのローカルモジュールからファイルを取得しようとしています(スタンドアロンモードでpuppetを使用):
file {
'/home/repowt/.crontab':
ensure => present,
source => 'puppet:///modules/site/crontab';
}
しかし、私は得る:
Could not evaluate: Could not retrieve information from source(s) ...
ファイルは次の場所にあります。
config/puppet/modules/site/files/crontab
(puppetは経由vagrant provision
で呼び出され、Vagrantfileはmodule_path ='config / puppet / modules'を指定し、puppetはそこからインポートしてモジュールをロードするため、明らかに問題ありません。)
私も試しました:
source => 'puppet:///site/crontab'
source => 'site/crontab'
source => 'config/puppet/modules/site/files/crontab'
source => '/modules/site/crontab'
役に立たない。私はウェブ上で何も照らしているものを見つけませんでした、非常に単純なもののようです。あなたの助けに感謝します。