Opscode cookbookを使用して、chef を使用して Apache をプロビジョニングしようとしています。以下のようにデフォルトの属性を設定しました。テンプレートファイルを作成しました/vagrant/sites-available/sof.conf
(/vagrant/sites-available/sof.conf.erb
念のためにも)。
テンプレートを評価したり、サイトを有効にしたりすることはありません。なにが問題ですか?
(それが何かを変えるならchef-serverを使う)
{
"overrides": {},
"defaults": {
"apache2": {
"web_app": {
"name": "sof",
"server_name": "localhost",
"server_aliases": [],
"docroot": "/vagrant/web"
},
"user": "www-data",
"dir": "/vagrant",
"log_dir": "/vagrant/logs/http"
}
}
}