デフォルトのindex.file(apaceh2に付属)を/var/www/
gitリポジトリにあるindexファイルで上書きするパペットモジュールを作成しようとしています。私は人形プラグイン Vcsrepo を使用してリポジトリを複製しています。
vcsrepo { "/var/www/":
provider => git,
source => "git@git.*****/testing.git",
identity => '/root/.ssh/id_rsa',
require => Package['git'],
}
私は今、このエラーが発生しています:
Error: /Stage[main]/Web::Repository/Vcsrepo[/var/www/]: Could not evaluate: undefined method `include?' for nil:NilClass
force=>"true"
問題を解決することができずに、 を試しました。