8
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

chefで knife solo cook <host> 後にcookbooks以下が消える

Posted at

たぶんそんなにハマる人は居ないと思いますが…

berkshelfで使うBerksfile

librarian で使う Cheffile

の両方があると競合します。

私の場合はberkcshelfを使おうと思っててlibrarian知らない状態だったのに、なぜか空の Cheffileができてて、

  1. knife solo cook 実行
  2. berkshelfが実行されcookbooksにダウンロード
  3. librarianが実行されcookbooks全消去
  4. rsyncされるも転送されず
  5. "If you're loading td-agent from another cookbook, make sure you configure the dependency in your metadata"とか言われてエラー

という流れでした。

8
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?