Rabbit – Error: mnesia_unexpectedly_running
Make sure you call sudo rabbitmqctl stop_app before issuing the cluster command. That seemed to be the problem for me. Then make sure you call sudo rabbitmqctl start_app to begin it again 🙂
Make sure you call sudo rabbitmqctl stop_app before issuing the cluster command. That seemed to be the problem for me. Then make sure you call sudo rabbitmqctl start_app to begin it again 🙂
This warning was introduced in Chef 11.12.0. See the release notes for details: When ssl_verify_mode is set to :verify_none, Chef will print a warning. Use knife ssl check to test SSL connectivity and then add ssl_verify_mode :verify_peer to your configuration file to fix the warning. Though :verify_none is currently the default, this will be changed … Read more
Default cookbook path could be set in ~/.chef/knife.rb: … cookbook_path [ ‘~/cookbooks/’, ‘~/base-cookbooks/’] … Also, you could find knife.rb documentation useful.
Have you tried using the VirtualBox user interface to add the new port forwarding rule manually? Open VirtualBox and select the running VM, then hit Settings->Network->Port Forwarding and add the new rule to, for example, forward 127.0.0.1:2223 to 10.0.2.15:22. After doing this I was able to connect to my VM on ports 2222 (as per … Read more
If you need an env var set strictly within the Chef process, you can use ENV[‘foo’] = ‘bar‘ since it’s a ruby process. If you need to set one for an execute provider, Chef exposes an environment hash: execute ‘Bootstrap the database’ do cwd “#{app_dir}/current” command “#{env_cmd} rake db:drop db:create db:schema:load RAILS_ENV=#{rails_env}” environment ‘HOME’ => … Read more
You have to define EDITOR as environment variable. Try export EDITOR=$(which vi) To persist this, add it to ~/.bashrc or ~/.bash_profile.
First and foremost, if you have the means to host an internal package repository, I generally recommend that you build native packages for your target platform(s), and use the package resource to manage them, rather than building from source. I know that is not always available or feasible, so … The method which you make … Read more
The following article concerns yet another CM tool (ansible), but I think the author does an excellent job of explaining the benefits of transitioning away from shell scripts. http://devopsu.com/blog/ansible-vs-shell-scripts/ quote 1: What really surprised me was the response from some of these more famous devs. They basically said, “This is really cool, but I probably … Read more
As @StephenKing suggests you can change the options of the whole directory. The relevant function is not documented but the source tells us: # File ‘lib/vagrant/config/vm.rb’, line 53 def share_folder(name, guestpath, hostpath, opts=nil) @shared_folders[name] = { :guestpath => guestpath.to_s, :hostpath => hostpath.to_s, :create => false, :owner => nil, :group => nil, :nfs => false, :transient … Read more