問題タブ [berkshelf]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
ruby - 別の Ruby インタープリターを呼び出す
Ruby スクリプト (具体的には Vagrantfile) 内で実行しており、別の Ruby 実行可能ファイル (具体的にはシステム Ruby に対してインストールされた berks) を呼び出したいと考えています。私は次のようなことができることを知っています
しかし、それはあまり移植性がありません。(たとえば、異なるマシンには異なる GEM_PATH が必要です)。では、別の Ruby 環境に対してインストールされたスクリプトを Ruby スクリプト内から呼び出すにはどうすればよいでしょうか?
rspec - ChefSpec テストでの「Cookbook not found」エラー
ChefSpec テストを実行しようとしています。
これは私のChefSpecテストです:
そして私のレシピです
ChefSpec テストを実行したときのエラー出力でした
何が問題なのかわかりません。Berkshelf がクックブックの依存関係を解決できると思いました。
chef-solo - Chef Solo と Berkshelf を使用する場合は自作を無視します
Chef Solo を使用して Vagrant マシンをプロビジョニングし、Berkshelf を使用してクックブックをインストールしています。Linux ホスト (Ubuntu) を使用しています。
mysql クックブックを使用したい。しかし、私が追加すると:
Berkshelf はhomebrew
推移的な依存関係としてインストールされます。Chef-solo はすべてをロードしますが、Linux を使用しているため失敗します。
homebrew
クックブックをインストールまたはロードするときにパッケージを無視する方法はありますか?
注:私は使用しようとしました
しかし、実行するberks install --without ignore
とエラーが返されます:
windows - Chef-Repo Berkshelf?
I was wondering if someone out there can help or advise me, on the following
I have a single Chef Git Repo, being a windows guys i'm now comfortable with things like git / chef etc, and want to start splitting my cookbooks out into single repo's etc and allowing other people / teams to manage them
Now there is loads of documentation out there, but none on how and where I install berkshelf.
Let me explain
Current Setup
run a git and everything gets pushed up to my repo
Where i'm confused is or the lack of documentation or i'm might not be getting it.
I want each cookbook as its own repo ? but what happens to everything above that cookbook as that should existing in a repo aswell ? e.g. databags / environments / roles / certs etc .....
or is it the chef-repo, stays fairly slim and you install berkshelf in the root chef-repo folder and it manages where those cookbooks exist on your machine
e.g
actually those cookbook might exist in the following location c:\stuff\cookbooks
rather than under the cookbook locations of c:\users\myname\chef-repo
regards
j